Pull request #252 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5ff75a6f307b5f31bf914ce62c0aaeacb3091de+faedb975756ffdd1f5d612842f042894232ce807 (c27eb77a936eb473076971d05d3ae7e000d39a65) 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-ssh8882263791868876680.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-ssh3578959618082027332.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-252/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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1921136609924676092.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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10799021154495131231.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-ssh11422801656282950301.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-252/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-252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6582209506565025645.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16118 in /w/workspace/foundry_device-usb-camera_PR-252 [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-252 # 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/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit c5ff75a6f307b5f31bf914ce62c0aaeacb3091de Merge succeeded, producing c5ff75a6f307b5f31bf914ce62c0aaeacb3091de Checking out Revision c5ff75a6f307b5f31bf914ce62c0aaeacb3091de (PR-252) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" 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-19T18:01:36.517Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # 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 faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-19T18:01:36.710Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-19T18:01:36.819Z] ========================================================= [2023-05-19T18:01:36.819Z] EdgeX Global Pipelines Version Info [2023-05-19T18:01:36.819Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:01:37.565Z] ------------------- [2023-05-19T18:01:37.565Z] stable info: [2023-05-19T18:01:37.565Z] ------------------- [2023-05-19T18:01:37.565Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-19T18:01:37.565Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T18:01:37.565Z] Message: update stable to v1.0.249 [2023-05-19T18:01:38.137Z] ------------------- [2023-05-19T18:01:38.137Z] experimental info: [2023-05-19T18:01:38.137Z] ------------------- [2023-05-19T18:01:38.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-19T18:01:38.137Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-19T18:01:38.137Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-19T18:01:38.440Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-19T18:01:38.480Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-19T18:01:38.526Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-19T18:01:38.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-19T18:01:38.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-19T18:01:38.708Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-19T18:01:38.858Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-19T18:01:38.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-19T18:01:38.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-19T18:01:38.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-19T18:01:39.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-19T18:01:39.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-19T18:01:39.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-19T18:01:39.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-19T18:01:39.198Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-19T18:01:39.248Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-19T18:01:39.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-19T18:01:39.334Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-19T18:01:39.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-19T18:01:39.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-19T18:01:39.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-19T18:01:39.504Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-19T18:01:39.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-19T18:01:39.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-19T18:01:39.638Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-19T18:01:39.681Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-19T18:01:39.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-19T18:01:39.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-252 [Pipeline] echo [2023-05-19T18:01:39.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-252 [Pipeline] echo [2023-05-19T18:01:39.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-252 [Pipeline] echo [2023-05-19T18:01:39.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo [2023-05-19T18:01:39.924Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5ff75a [Pipeline] echo [2023-05-19T18:01:39.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T18:01:40.092Z] provisioning config files... [2023-05-19T18:01:40.109Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config1106288838291161028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:01:40.457Z] ---> docker-login.sh [2023-05-19T18:01:40.457Z] nexus3.edgexfoundry.org:10001 [2023-05-19T18:01:40.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:01:40.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:01:40.982Z] Configure a credential helper to remove this warning. See [2023-05-19T18:01:40.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:01:40.982Z] [2023-05-19T18:01:40.982Z] Login Succeeded [2023-05-19T18:01:40.982Z] nexus3.edgexfoundry.org:10002 [2023-05-19T18:01:40.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:01:40.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:01:40.982Z] Configure a credential helper to remove this warning. See [2023-05-19T18:01:40.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:01:40.982Z] [2023-05-19T18:01:40.982Z] Login Succeeded [2023-05-19T18:01:40.982Z] nexus3.edgexfoundry.org:10003 [2023-05-19T18:01:40.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:01:40.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:01:40.982Z] Configure a credential helper to remove this warning. See [2023-05-19T18:01:40.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:01:40.982Z] [2023-05-19T18:01:40.982Z] Login Succeeded [2023-05-19T18:01:41.242Z] nexus3.edgexfoundry.org:10004 [2023-05-19T18:01:41.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:01:41.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:01:41.242Z] Configure a credential helper to remove this warning. See [2023-05-19T18:01:41.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:01:41.242Z] [2023-05-19T18:01:41.242Z] Login Succeeded [2023-05-19T18:01:41.242Z] docker.io [2023-05-19T18:01:41.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:01:41.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:01:41.502Z] Configure a credential helper to remove this warning. See [2023-05-19T18:01:41.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:01:41.502Z] [2023-05-19T18:01:41.502Z] Login Succeeded [2023-05-19T18:01:41.502Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T18:01:41.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-19T18:01:42.215Z] + git rev-list -1 --merges c5ff75a6f307b5f31bf914ce62c0aaeacb3091de~1..c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo [2023-05-19T18:01:42.278Z] -----------> git rev-list -1 --merges c5ff75a6f307b5f31bf914ce62c0aaeacb3091de~1..c5ff75a6f307b5f31bf914ce62c0aaeacb3091de c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [false] [Pipeline] sh [2023-05-19T18:01:42.591Z] + git log --format=format:%s -1 c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo [2023-05-19T18:01:42.629Z] ========================================================= [2023-05-19T18:01:42.629Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-19T18:01:42.629Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T18:01:43.067Z] + git log --format=format:%s -1 c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo [2023-05-19T18:01:43.099Z] [semverPrep] GIT_COMMIT: c5ff75a6f307b5f31bf914ce62c0aaeacb3091de, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo [2023-05-19T18:01:43.129Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-19T18:01:43.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-19T18:01:43.518Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-19T18:01:43.518Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-19T18:01:43.518Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-19T18:01:43.518Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-05-19T18:01:43.518Z] tee -a /etc/ssh/ssh_known_hosts [2023-05-19T18:01:43.518Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:01:43.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T18:01:43.937Z] [2023-05-19T18:01:43.937Z] 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-19T18:01:44.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T18:01:44.323Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-19T18:01:44.323Z] b85a868b505f: Pulling fs layer [2023-05-19T18:01:44.323Z] e2be974225ed: Pulling fs layer [2023-05-19T18:01:44.323Z] 339a4e72a1f5: Pulling fs layer [2023-05-19T18:01:44.323Z] 988bab9f4d93: Pulling fs layer [2023-05-19T18:01:44.323Z] 1469e6f7b9e6: Pulling fs layer [2023-05-19T18:01:44.323Z] eaf3925da568: Pulling fs layer [2023-05-19T18:01:44.323Z] bab4dde63d76: Pulling fs layer [2023-05-19T18:01:44.323Z] bde34c3a00c8: Pulling fs layer [2023-05-19T18:01:44.323Z] b352a97aabf1: Pulling fs layer [2023-05-19T18:01:44.323Z] 4872d77fe225: Pulling fs layer [2023-05-19T18:01:44.323Z] 5851b861e8e6: Pulling fs layer [2023-05-19T18:01:44.323Z] 1469e6f7b9e6: Waiting [2023-05-19T18:01:44.323Z] eaf3925da568: Waiting [2023-05-19T18:01:44.323Z] bab4dde63d76: Waiting [2023-05-19T18:01:44.323Z] bde34c3a00c8: Waiting [2023-05-19T18:01:44.323Z] 5851b861e8e6: Waiting [2023-05-19T18:01:44.323Z] b352a97aabf1: Waiting [2023-05-19T18:01:44.323Z] 4872d77fe225: Waiting [2023-05-19T18:01:44.323Z] 988bab9f4d93: Waiting [2023-05-19T18:01:44.583Z] e2be974225ed: Verifying Checksum [2023-05-19T18:01:44.583Z] e2be974225ed: Download complete [2023-05-19T18:01:44.583Z] 988bab9f4d93: Verifying Checksum [2023-05-19T18:01:44.583Z] 988bab9f4d93: Download complete [2023-05-19T18:01:44.583Z] 339a4e72a1f5: Verifying Checksum [2023-05-19T18:01:44.583Z] 339a4e72a1f5: Download complete [2023-05-19T18:01:44.583Z] 1469e6f7b9e6: Verifying Checksum [2023-05-19T18:01:44.583Z] 1469e6f7b9e6: Download complete [2023-05-19T18:01:44.583Z] eaf3925da568: Verifying Checksum [2023-05-19T18:01:44.583Z] eaf3925da568: Download complete [2023-05-19T18:01:44.583Z] bde34c3a00c8: Verifying Checksum [2023-05-19T18:01:44.583Z] bde34c3a00c8: Download complete [2023-05-19T18:01:44.843Z] b352a97aabf1: Verifying Checksum [2023-05-19T18:01:44.843Z] b352a97aabf1: Download complete [2023-05-19T18:01:44.843Z] 4872d77fe225: Verifying Checksum [2023-05-19T18:01:44.843Z] 4872d77fe225: Download complete [2023-05-19T18:01:44.843Z] 5851b861e8e6: Download complete [2023-05-19T18:01:44.843Z] b85a868b505f: Verifying Checksum [2023-05-19T18:01:44.843Z] b85a868b505f: Download complete [2023-05-19T18:01:45.102Z] bab4dde63d76: Verifying Checksum [2023-05-19T18:01:45.102Z] bab4dde63d76: Download complete [2023-05-19T18:01:46.037Z] b85a868b505f: Pull complete [2023-05-19T18:01:46.297Z] e2be974225ed: Pull complete [2023-05-19T18:01:46.558Z] 339a4e72a1f5: Pull complete [2023-05-19T18:01:46.818Z] 988bab9f4d93: Pull complete [2023-05-19T18:01:47.079Z] 1469e6f7b9e6: Pull complete [2023-05-19T18:01:47.079Z] eaf3925da568: Pull complete [2023-05-19T18:01:49.010Z] bab4dde63d76: Pull complete [2023-05-19T18:01:49.010Z] bde34c3a00c8: Pull complete [2023-05-19T18:01:49.010Z] b352a97aabf1: Pull complete [2023-05-19T18:01:49.274Z] 4872d77fe225: Pull complete [2023-05-19T18:01:49.274Z] 5851b861e8e6: Pull complete [2023-05-19T18:01:49.274Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-19T18:01:49.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-19T18:01:49.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:01:49.536Z] prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container [2023-05-19T18:01:49.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-19T18:01:54.248Z] $ docker top f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 -eo pid,comm [2023-05-19T18:01:54.305Z] 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-19T18:01:54.305Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-19T18:01:54.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-19T18:01:54.434Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-19T18:01:54.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-19T18:01:54.578Z] $ docker exec f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent [2023-05-19T18:01:54.680Z] SSH_AUTH_SOCK=/tmp/ssh-PSGNESIu9Xcz/agent.32 [2023-05-19T18:01:54.680Z] SSH_AGENT_PID=38 [2023-05-19T18:01:54.687Z] Running ssh-add (command line suppressed) [2023-05-19T18:01:54.801Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_2404576800347437810.key (/w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_2404576800347437810.key) [2023-05-19T18:01:54.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-19T18:01:55.163Z] + git tag --points-at HEAD [Pipeline] } [2023-05-19T18:01:55.189Z] $ docker exec --env ******** --env ******** f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent -k [2023-05-19T18:01:55.279Z] unset SSH_AUTH_SOCK; [2023-05-19T18:01:55.280Z] unset SSH_AGENT_PID; [2023-05-19T18:01:55.280Z] echo Agent pid 38 killed; [2023-05-19T18:01:55.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-19T18:01:55.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-19T18:01:55.383Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-19T18:01:55.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-19T18:01:55.496Z] $ docker exec f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent [2023-05-19T18:01:55.612Z] SSH_AUTH_SOCK=/tmp/ssh-c6wEDSmpDFlS/agent.70 [2023-05-19T18:01:55.612Z] SSH_AGENT_PID=76 [2023-05-19T18:01:55.617Z] Running ssh-add (command line suppressed) [2023-05-19T18:01:55.728Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_4360224848114107048.key (/w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_4360224848114107048.key) [2023-05-19T18:01:55.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-19T18:01:56.073Z] + git semver init [2023-05-19T18:01:56.333Z] 2023-05-19 18:01:56,260 [run_init] DEBUG init version:0.0.0 force:False [2023-05-19T18:01:56.333Z] 2023-05-19 18:01:56,261 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-252/.semver [2023-05-19T18:01:56.333Z] 2023-05-19 18:01:56,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-252/.semver [2023-05-19T18:01:56.333Z] 2023-05-19 18:01:56,262 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-252/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-252, universal_newlines=False, shell=None, istream=None) [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,132 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-252/.git/info/exclude [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,132 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 with force:False [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,132 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,134 [execute] INFO git cat-file --batch-check [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,140 [execute] INFO git cat-file --batch [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-05-19T18:01:57.311Z] 2023-05-19 18:01:57,145 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 [2023-05-19T18:01:57.311Z] 0.0.0 [Pipeline] } [2023-05-19T18:01:57.345Z] $ docker exec --env ******** --env ******** f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent -k [2023-05-19T18:01:57.431Z] unset SSH_AUTH_SOCK; [2023-05-19T18:01:57.431Z] unset SSH_AGENT_PID; [2023-05-19T18:01:57.431Z] echo Agent pid 76 killed; [2023-05-19T18:01:57.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-19T18:01:57.929Z] + git semver [Pipeline] } [2023-05-19T18:01:58.584Z] $ docker stop --time=1 f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 [2023-05-19T18:02:00.179Z] $ docker rm -f --volumes f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T18:02:00.607Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-19T18:02:00.890Z] Stashed 1 file(s) [Pipeline] echo [2023-05-19T18:02:00.906Z] [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-19T18:02:01.555Z] provisioning config files... [2023-05-19T18:02:01.568Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config16553166411882580211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:02:01.931Z] ---> docker-login.sh [2023-05-19T18:02:01.931Z] nexus3.edgexfoundry.org:10001 [2023-05-19T18:02:01.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:02:01.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:02:01.931Z] Configure a credential helper to remove this warning. See [2023-05-19T18:02:01.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:02:01.931Z] [2023-05-19T18:02:01.931Z] Login Succeeded [2023-05-19T18:02:01.931Z] nexus3.edgexfoundry.org:10002 [2023-05-19T18:02:01.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:02:01.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:02:01.931Z] Configure a credential helper to remove this warning. See [2023-05-19T18:02:01.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:02:01.931Z] [2023-05-19T18:02:01.931Z] Login Succeeded [2023-05-19T18:02:01.931Z] nexus3.edgexfoundry.org:10003 [2023-05-19T18:02:02.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:02:02.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:02:02.190Z] Configure a credential helper to remove this warning. See [2023-05-19T18:02:02.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:02:02.190Z] [2023-05-19T18:02:02.190Z] Login Succeeded [2023-05-19T18:02:02.190Z] nexus3.edgexfoundry.org:10004 [2023-05-19T18:02:02.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:02:02.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:02:02.190Z] Configure a credential helper to remove this warning. See [2023-05-19T18:02:02.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:02:02.190Z] [2023-05-19T18:02:02.190Z] Login Succeeded [2023-05-19T18:02:02.190Z] docker.io [2023-05-19T18:02:02.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:02:02.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:02:02.449Z] Configure a credential helper to remove this warning. See [2023-05-19T18:02:02.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:02:02.449Z] [2023-05-19T18:02:02.449Z] Login Succeeded [2023-05-19T18:02:02.449Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T18:02:02.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-19T18:02:02.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T18:02:02.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T18:02:02.732Z] ========================================================= [2023-05-19T18:02:02.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-19T18:02:02.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:02:03.195Z] + 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-19T18:02:03.195Z] Sending build context to Docker daemon 1.892MB [2023-05-19T18:02:03.195Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T18:02:03.195Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-19T18:02:03.195Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-19T18:02:03.195Z] f56be85fc22e: Pulling fs layer [2023-05-19T18:02:03.195Z] 85791d961cd3: Pulling fs layer [2023-05-19T18:02:03.195Z] d694b5ae8c79: Pulling fs layer [2023-05-19T18:02:03.195Z] 9f32a84ed3da: Pulling fs layer [2023-05-19T18:02:03.195Z] 4d19c01a9841: Pulling fs layer [2023-05-19T18:02:03.195Z] 9325e15d5711: Pulling fs layer [2023-05-19T18:02:03.195Z] 9f32a84ed3da: Waiting [2023-05-19T18:02:03.195Z] 4d19c01a9841: Waiting [2023-05-19T18:02:03.195Z] 9325e15d5711: Waiting [2023-05-19T18:02:03.195Z] 556b6ee489ea: Pulling fs layer [2023-05-19T18:02:03.195Z] c5a4b2cf53e6: Pulling fs layer [2023-05-19T18:02:03.195Z] 556b6ee489ea: Waiting [2023-05-19T18:02:03.195Z] c5a4b2cf53e6: Waiting [2023-05-19T18:02:03.195Z] 85791d961cd3: Download complete [2023-05-19T18:02:03.195Z] 9f32a84ed3da: Verifying Checksum [2023-05-19T18:02:03.195Z] 9f32a84ed3da: Download complete [2023-05-19T18:02:03.195Z] 4d19c01a9841: Download complete [2023-05-19T18:02:03.455Z] f56be85fc22e: Verifying Checksum [2023-05-19T18:02:03.455Z] f56be85fc22e: Download complete [2023-05-19T18:02:03.455Z] 9325e15d5711: Verifying Checksum [2023-05-19T18:02:03.455Z] 9325e15d5711: Download complete [2023-05-19T18:02:03.455Z] f56be85fc22e: Pull complete [2023-05-19T18:02:03.717Z] 85791d961cd3: Pull complete [2023-05-19T18:02:03.978Z] d694b5ae8c79: Verifying Checksum [2023-05-19T18:02:03.978Z] d694b5ae8c79: Download complete [2023-05-19T18:02:04.238Z] c5a4b2cf53e6: Verifying Checksum [2023-05-19T18:02:04.238Z] c5a4b2cf53e6: Download complete [2023-05-19T18:02:04.238Z] 556b6ee489ea: Download complete [2023-05-19T18:02:07.525Z] d694b5ae8c79: Pull complete [2023-05-19T18:02:07.525Z] 9f32a84ed3da: Pull complete [2023-05-19T18:02:07.525Z] 4d19c01a9841: Pull complete [2023-05-19T18:02:07.525Z] 9325e15d5711: Pull complete [2023-05-19T18:02:10.058Z] 556b6ee489ea: Pull complete [2023-05-19T18:02:10.998Z] c5a4b2cf53e6: Pull complete [2023-05-19T18:02:10.998Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-19T18:02:10.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-19T18:02:10.998Z] ---> c4be618373d6 [2023-05-19T18:02:10.998Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-19T18:02:16.341Z] Still waiting to schedule task [2023-05-19T18:02:16.341Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-19T18:02:19.319Z] ---> Running in c68ec519b728 [2023-05-19T18:02:19.319Z] Removing intermediate container c68ec519b728 [2023-05-19T18:02:19.319Z] ---> f93ef6547870 [2023-05-19T18:02:19.319Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T18:02:19.319Z] ---> Running in 54d1daecba64 [2023-05-19T18:02:19.319Z] Removing intermediate container 54d1daecba64 [2023-05-19T18:02:19.319Z] ---> 30325dc034b5 [2023-05-19T18:02:19.319Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-19T18:02:19.320Z] ---> Running in 171d55928bda [2023-05-19T18:02:19.320Z] Removing intermediate container 171d55928bda [2023-05-19T18:02:19.320Z] ---> 3d4c9ad6b854 [2023-05-19T18:02:19.320Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-19T18:02:19.320Z] ---> Running in 907ea3bd1d80 [2023-05-19T18:02:19.320Z] Removing intermediate container 907ea3bd1d80 [2023-05-19T18:02:19.320Z] ---> f15e763db6aa [2023-05-19T18:02:19.320Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T18:02:19.320Z] ---> Running in 5503412b970a [2023-05-19T18:02:19.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T18:02:19.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T18:02:19.838Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-19T18:02:19.838Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-19T18:02:19.838Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-19T18:02:19.838Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-19T18:02:19.838Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-19T18:02:19.838Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-19T18:02:19.838Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-19T18:02:19.838Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-19T18:02:19.838Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-19T18:02:19.838Z] (10/14) Installing kmod-libs (30-r1) [2023-05-19T18:02:19.838Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-19T18:02:19.838Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-19T18:02:19.838Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-19T18:02:19.838Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-19T18:02:19.838Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T18:02:19.838Z] Executing eudev-3.2.11-r4.trigger [2023-05-19T18:02:19.838Z] OK: 272 MiB in 67 packages [2023-05-19T18:02:20.791Z] Removing intermediate container 5503412b970a [2023-05-19T18:02:20.791Z] ---> dcf60d174661 [2023-05-19T18:02:20.791Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-19T18:02:20.791Z] ---> Running in 8cea4b1bd846 [2023-05-19T18:02:20.791Z] Removing intermediate container 8cea4b1bd846 [2023-05-19T18:02:20.791Z] ---> 163368648ceb [2023-05-19T18:02:20.791Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-19T18:02:21.051Z] ---> ba4ffacf820d [2023-05-19T18:02:21.051Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T18:02:21.051Z] ---> Running in 10cbae31e6b3 [2023-05-19T18:03:07.753Z] Removing intermediate container 10cbae31e6b3 [2023-05-19T18:03:07.753Z] ---> 746bcfe62551 [2023-05-19T18:03:07.753Z] Step 11/13 : COPY . . [2023-05-19T18:03:07.753Z] ---> b1e59f62681c [2023-05-19T18:03:07.753Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-19T18:03:07.753Z] ---> Running in 05b144eb46b4 [2023-05-19T18:03:07.753Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-05-19T18:03:07.753Z]   Dload Upload  Total Spent Left Speed [2023-05-19T18:03:07.753Z]  0  0  0  0  0  0 0 0 --:--:-- --:--:-- --:--:--  0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6048 0 --:--:-- --:--:-- --:--:-- 6034 [2023-05-19T18:03:07.753Z] Removing intermediate container 05b144eb46b4 [2023-05-19T18:03:07.753Z] ---> 96eb7fcbe151 [2023-05-19T18:03:07.753Z] Step 13/13 : RUN ${MAKE} [2023-05-19T18:03:07.753Z] ---> Running in 2fb8c9c2563f [2023-05-19T18:03:07.753Z] noop [2023-05-19T18:03:07.753Z] Removing intermediate container 2fb8c9c2563f [2023-05-19T18:03:07.753Z] ---> 1a638d8c4b67 [2023-05-19T18:03:07.753Z] Successfully built 1a638d8c4b67 [2023-05-19T18:03:07.753Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:03:08.199Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-19T18:03:08.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:03:08.357Z] prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container [2023-05-19T18:03:08.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-19T18:03:08.729Z] $ docker top bb496dba382a37490aa46be208e09521ea7802b83149c468bbfee547b556d151 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T18:03:09.121Z] + go version [2023-05-19T18:03:09.121Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-19T18:03:09.160Z] $ docker stop --time=1 bb496dba382a37490aa46be208e09521ea7802b83149c468bbfee547b556d151 [2023-05-19T18:03:10.433Z] $ docker rm -f --volumes bb496dba382a37490aa46be208e09521ea7802b83149c468bbfee547b556d151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:03:11.182Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-19T18:03:11.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:03:11.339Z] prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container [2023-05-19T18:03:11.374Z] $ 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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-19T18:03:11.765Z] $ docker top 95250a90a81fa25db5994f8812e10a18ac371d7c8653e18b30c8adddb6978161 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T18:03:12.232Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-252 [Pipeline] fileExists [Pipeline] sh [2023-05-19T18:03:12.592Z] + make test [2023-05-19T18:03:12.592Z] go test ./... -coverprofile=coverage.out ./... [2023-05-19T18:03:16.795Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-19T18:03:29.000Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-19T18:03:29.000Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.8% of statements [2023-05-19T18:03:35.766Z] go vet ./... [2023-05-19T18:03:39.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-19T18:03:39.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-19T18:03:39.055Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-19T18:03:39.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-19T18:03:39.126Z] $ docker stop --time=1 95250a90a81fa25db5994f8812e10a18ac371d7c8653e18b30c8adddb6978161 [2023-05-19T18:03:43.615Z] $ docker rm -f --volumes 95250a90a81fa25db5994f8812e10a18ac371d7c8653e18b30c8adddb6978161 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T18:03:44.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-19T18:03:44.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-19T18:03:44.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-19T18:03:45.204Z] + ls -al . [2023-05-19T18:03:45.204Z] total 188 [2023-05-19T18:03:45.204Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 18:03 . [2023-05-19T18:03:45.204Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:01 .. [2023-05-19T18:03:45.204Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 18:01 .git [2023-05-19T18:03:45.204Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:01 .github [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 414 May 19 18:01 .gitignore [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 42 May 19 18:01 .golangci.yml [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 77 May 19 18:01 .hadolint.yml [2023-05-19T18:03:45.204Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 18:01 .semver [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 19 18:01 Attribution.txt [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 19 18:01 CHANGELOG.md [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 19 18:01 Dockerfile [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 678 May 19 18:01 GOVERNANCE.md [2023-05-19T18:03:45.204Z] -rw-rw-r-- 1 jenkins jenkins 659 May 19 18:01 Jenkinsfile [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 19 18:01 LICENSE [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 19 18:01 Makefile [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 622 May 19 18:01 OWNERS.md [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 19 18:01 README.md [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 18:02 VERSION [2023-05-19T18:03:45.205Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:01 bin [2023-05-19T18:03:45.205Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:01 cmd [2023-05-19T18:03:45.205Z] -rw-r--r-- 1 jenkins jenkins 31522 May 19 18:03 coverage.out [2023-05-19T18:03:45.205Z] -rwxrwxr-x 1 jenkins jenkins 140 May 19 18:01 docker-entrypoint.sh [2023-05-19T18:03:45.205Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:01 docs [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 19 18:01 go.mod [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 31578 May 19 18:01 go.sum [2023-05-19T18:03:45.205Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:01 internal [2023-05-19T18:03:45.205Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:01 snap [2023-05-19T18:03:45.205Z] -rw-rw-r-- 1 jenkins jenkins 231 May 19 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:03:45.595Z] + 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=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de --label arch=amd64 --label version=0.0.0 . [2023-05-19T18:03:45.595Z] Sending build context to Docker daemon 1.925MB [2023-05-19T18:03:45.595Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T18:03:45.595Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-19T18:03:45.595Z] ---> 1a638d8c4b67 [2023-05-19T18:03:45.595Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-19T18:03:45.855Z] ---> Running in 219ed75287b6 [2023-05-19T18:03:45.855Z] Removing intermediate container 219ed75287b6 [2023-05-19T18:03:45.855Z] ---> 9703ac3ea979 [2023-05-19T18:03:45.855Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T18:03:45.855Z] ---> Running in e940cbfe1701 [2023-05-19T18:03:45.855Z] Removing intermediate container e940cbfe1701 [2023-05-19T18:03:45.855Z] ---> 7dbde7f60418 [2023-05-19T18:03:45.855Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-19T18:03:45.855Z] ---> Running in 4f87d8d13926 [2023-05-19T18:03:46.116Z] Removing intermediate container 4f87d8d13926 [2023-05-19T18:03:46.116Z] ---> ca8d584d236c [2023-05-19T18:03:46.116Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-19T18:03:46.116Z] ---> Running in e86914f58bfe [2023-05-19T18:03:46.116Z] Removing intermediate container e86914f58bfe [2023-05-19T18:03:46.116Z] ---> 1ef4bb075968 [2023-05-19T18:03:46.116Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T18:03:46.116Z] ---> Running in 390c17c0c8ab [2023-05-19T18:03:46.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T18:03:46.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T18:03:46.897Z] OK: 272 MiB in 67 packages [2023-05-19T18:03:47.212Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16119 in /w/workspace/foundry_device-usb-camera_PR-252 [Pipeline] { [Pipeline] ws [2023-05-19T18:03:47.267Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-19T18:03:47.355Z] Selected Git installation does not exist. Using Default [2023-05-19T18:03:47.355Z] The recommended git tool is: NONE [2023-05-19T18:03:47.469Z] Removing intermediate container 390c17c0c8ab [2023-05-19T18:03:47.469Z] ---> d94c63a1bf3a [2023-05-19T18:03:47.469Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-19T18:03:47.469Z] ---> Running in 898d1d4132c8 [2023-05-19T18:03:47.469Z] Removing intermediate container 898d1d4132c8 [2023-05-19T18:03:47.469Z] ---> 6ade449d489a [2023-05-19T18:03:47.469Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-19T18:03:47.469Z] ---> a8768b09e029 [2023-05-19T18:03:47.469Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T18:03:47.469Z] ---> Running in 97915689ab78 [2023-05-19T18:03:48.435Z] Removing intermediate container 97915689ab78 [2023-05-19T18:03:48.435Z] ---> bdb21ebe4cb2 [2023-05-19T18:03:48.435Z] Step 11/36 : COPY . . [2023-05-19T18:03:48.695Z] ---> de073ed69fee [2023-05-19T18:03:48.695Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-19T18:03:48.695Z] ---> Running in 7876c1280122 [2023-05-19T18:03:48.953Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T18:03:48.953Z] Dload Upload Total Spent Left Speed [2023-05-19T18:03:48.953Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20099 0 --:--:-- --:--:-- --:--:-- 20423 [2023-05-19T18:03:49.212Z] Removing intermediate container 7876c1280122 [2023-05-19T18:03:49.212Z] ---> 5af45f3e8b5d [2023-05-19T18:03:49.212Z] Step 13/36 : RUN ${MAKE} [2023-05-19T18:03:49.212Z] ---> Running in c5cc48396f3b [2023-05-19T18:03:49.471Z] 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-19T18:03:53.024Z] using credential edgex-jenkins-ssh [2023-05-19T18:03:53.044Z] Cloning the remote Git repository [2023-05-19T18:03:53.093Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-19T18:03:53.196Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-19T18:03:53.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-19T18:03:53.371Z] > git --version # timeout=10 [2023-05-19T18:03:53.393Z] > git --version # 'git version 2.25.1' [2023-05-19T18:03:53.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T18:03:53.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-19T18:03:57.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-19T18:03:57.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-19T18:03:58.727Z] Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [2023-05-19T18:03:59.021Z] Merge succeeded, producing c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [2023-05-19T18:03:59.022Z] Checking out Revision c5ff75a6f307b5f31bf914ce62c0aaeacb3091de (PR-252) [2023-05-19T18:03:58.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-19T18:03:58.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-19T18:03:58.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T18:03:58.183Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-19T18:03:58.746Z] > git config core.sparsecheckout # timeout=10 [2023-05-19T18:03:58.820Z] > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 [2023-05-19T18:03:58.917Z] > git remote # timeout=10 [2023-05-19T18:03:58.939Z] > git config --get remote.origin.url # timeout=10 [2023-05-19T18:03:58.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-19T18:03:58.974Z] > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 [2023-05-19T18:03:59.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-19T18:03:59.027Z] > git config core.sparsecheckout # timeout=10 [2023-05-19T18:03:59.046Z] > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 [2023-05-19T18:03:59.502Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [2023-05-19T18:03:59.553Z] > git --version # timeout=10 [2023-05-19T18:03:59.564Z] > git --version # 'git version 2.25.1' [2023-05-19T18:03:59.587Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T18:04:00.882Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-19T18:04:00.882Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T18:04:00.882Z] Dload Upload Total Spent Left Speed [2023-05-19T18:04:00.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70447 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh [2023-05-19T18:04:01.492Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-19T18:04:01.863Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-19T18:04:01.863Z] + sudo tee /etc/docker/daemon.new [2023-05-19T18:04:01.863Z] { [2023-05-19T18:04:01.863Z] "registry-mirrors": [ [2023-05-19T18:04:01.863Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-19T18:04:01.863Z] ], [2023-05-19T18:04:01.863Z] "bip": "10.250.0.254/24", [2023-05-19T18:04:01.863Z] "hosts": [ [2023-05-19T18:04:01.863Z] "tcp://0.0.0.0:5555", [2023-05-19T18:04:01.863Z] "unix:///var/run/docker.sock" [2023-05-19T18:04:01.863Z] ], [2023-05-19T18:04:01.863Z] "mtu": 1458, [2023-05-19T18:04:01.863Z] "selinux-enabled": true, [2023-05-19T18:04:01.863Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-19T18:04:01.863Z] } [Pipeline] sh [2023-05-19T18:04:02.217Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-19T18:04:02.568Z] + sudo service docker restart [2023-05-19T18:04:11.394Z] Removing intermediate container c5cc48396f3b [2023-05-19T18:04:11.394Z] ---> 3828b855a70d [2023-05-19T18:04:11.394Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-19T18:04:11.394Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-19T18:04:11.394Z] 4acc49c71d14: Pulling fs layer [2023-05-19T18:04:11.394Z] 4acc49c71d14: Verifying Checksum [2023-05-19T18:04:11.394Z] 4acc49c71d14: Download complete [2023-05-19T18:04:11.394Z] 4acc49c71d14: Pull complete [2023-05-19T18:04:11.394Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-19T18:04:11.394Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-19T18:04:11.394Z] ---> 01a2bd3e5fff [2023-05-19T18:04:11.394Z] Step 15/36 : FROM alpine:3.17 [2023-05-19T18:04:11.961Z] 3.17: Pulling from library/alpine [2023-05-19T18:04:11.961Z] f56be85fc22e: Already exists [2023-05-19T18:04:12.220Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-19T18:04:12.220Z] Status: Downloaded newer image for alpine:3.17 [2023-05-19T18:04:12.220Z] ---> 9ed4aefc74f6 [2023-05-19T18:04:12.220Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-19T18:04:12.479Z] ---> Running in f3bc19a05651 [2023-05-19T18:04:12.737Z] Removing intermediate container f3bc19a05651 [2023-05-19T18:04:12.737Z] ---> 5423bb5b1bcc [2023-05-19T18:04:12.737Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-19T18:04:12.737Z] ---> Running in 3ed59e0c0fe8 [2023-05-19T18:04:12.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-19T18:04:12.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-19T18:04:13.254Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-19T18:04:13.254Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-19T18:04:13.254Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-19T18:04:13.254Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-19T18:04:13.254Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-19T18:04:13.254Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-19T18:04:13.254Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-19T18:04:13.254Z] (8/86) Installing libxcb (1.15-r0) [2023-05-19T18:04:13.254Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-19T18:04:13.512Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-19T18:04:13.512Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-19T18:04:13.512Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-19T18:04:13.512Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-19T18:04:13.512Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-19T18:04:13.512Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-19T18:04:13.512Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-19T18:04:13.512Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-19T18:04:13.512Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-19T18:04:13.512Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-19T18:04:13.512Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-19T18:04:13.512Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-19T18:04:13.512Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-19T18:04:13.512Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-19T18:04:13.512Z] (24/86) Installing glib (2.74.6-r0) [2023-05-19T18:04:13.512Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-19T18:04:13.512Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-19T18:04:13.512Z] (27/86) Installing libass (0.16.0-r1) [2023-05-19T18:04:13.512Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-19T18:04:13.512Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-19T18:04:13.512Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-19T18:04:13.512Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-19T18:04:13.769Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-19T18:04:13.769Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-19T18:04:13.770Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-19T18:04:13.770Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-19T18:04:13.770Z] (36/86) Installing libunistring (1.1-r0) [2023-05-19T18:04:13.770Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-19T18:04:13.770Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-19T18:04:13.770Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-19T18:04:13.770Z] (40/86) Installing lame (3.100-r2) [2023-05-19T18:04:13.770Z] (41/86) Installing opus (1.3.1-r1) [2023-05-19T18:04:13.770Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-19T18:04:13.770Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-19T18:04:13.770Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-19T18:04:13.770Z] (45/86) Installing orc (0.4.33-r0) [2023-05-19T18:04:13.770Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-19T18:04:13.770Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-19T18:04:13.770Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-19T18:04:13.770Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-19T18:04:13.770Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-19T18:04:13.770Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-19T18:04:13.770Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-19T18:04:13.770Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-19T18:04:13.770Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-19T18:04:13.770Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-19T18:04:13.770Z] (56/86) Installing libpulse (16.1-r6) [2023-05-19T18:04:13.770Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-19T18:04:13.770Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-19T18:04:13.770Z] (59/86) Installing librist (0.2.7-r0) [2023-05-19T18:04:13.770Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-19T18:04:14.029Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-19T18:04:14.029Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-19T18:04:14.029Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-19T18:04:14.029Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-19T18:04:14.029Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-19T18:04:14.029Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-19T18:04:14.029Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-19T18:04:14.029Z] (68/86) Installing libva (2.16.0-r0) [2023-05-19T18:04:14.029Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-19T18:04:14.029Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-19T18:04:14.029Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-19T18:04:14.029Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-19T18:04:14.029Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-19T18:04:14.029Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-19T18:04:14.029Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-19T18:04:14.029Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-19T18:04:14.029Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-19T18:04:14.029Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-19T18:04:14.029Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-19T18:04:14.288Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-19T18:04:14.288Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-19T18:04:14.288Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-19T18:04:14.288Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-19T18:04:14.288Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-19T18:04:14.288Z] (85/86) Installing kmod-libs (30-r1) [2023-05-19T18:04:14.288Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-19T18:04:14.288Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T18:04:14.288Z] Executing eudev-3.2.11-r4.trigger [2023-05-19T18:04:14.288Z] OK: 112 MiB in 101 packages [2023-05-19T18:04:17.594Z] Removing intermediate container 3ed59e0c0fe8 [2023-05-19T18:04:17.594Z] ---> c83d6b63c580 [2023-05-19T18:04:17.594Z] Step 18/36 : WORKDIR / [2023-05-19T18:04:17.594Z] ---> Running in c3166d6b55e3 [2023-05-19T18:04:17.855Z] Removing intermediate container c3166d6b55e3 [2023-05-19T18:04:17.855Z] ---> 12bfbe617c08 [2023-05-19T18:04:17.855Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-19T18:04:18.792Z] ---> 6e4074548273 [2023-05-19T18:04:18.792Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-19T18:04:18.792Z] ---> 9e08e3de4fae [2023-05-19T18:04:18.792Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-19T18:04:19.051Z] ---> b006db4b7203 [2023-05-19T18:04:19.051Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-19T18:04:19.051Z] ---> 29e8d44827b6 [2023-05-19T18:04:19.051Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-19T18:04:19.314Z] ---> c0709e87db52 [2023-05-19T18:04:19.315Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-19T18:04:19.315Z] ---> 402224eeff18 [2023-05-19T18:04:19.315Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-19T18:04:20.262Z] ---> 96a251d90ea7 [2023-05-19T18:04:20.262Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-19T18:04:20.262Z] ---> Running in 66b98904d136 [2023-05-19T18:04:20.831Z] Removing intermediate container 66b98904d136 [2023-05-19T18:04:20.831Z] ---> ee0aaeb5dbce [2023-05-19T18:04:20.831Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-19T18:04:20.831Z] ---> Running in 12bc97146bd7 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T18:04:20.924Z] provisioning config files... [2023-05-19T18:04:20.950Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10476606283428284932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:04:21.344Z] ---> docker-login.sh [2023-05-19T18:04:21.345Z] nexus3.edgexfoundry.org:10001 [2023-05-19T18:04:21.398Z] Removing intermediate container 12bc97146bd7 [2023-05-19T18:04:21.398Z] ---> c11c6dddc538 [2023-05-19T18:04:21.398Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-19T18:04:21.398Z] ---> Running in 723f5084e9cb [2023-05-19T18:04:21.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:04:21.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:04:21.886Z] Configure a credential helper to remove this warning. See [2023-05-19T18:04:21.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:04:21.886Z] [2023-05-19T18:04:21.886Z] Login Succeeded [2023-05-19T18:04:21.886Z] nexus3.edgexfoundry.org:10002 [2023-05-19T18:04:21.964Z] Removing intermediate container 723f5084e9cb [2023-05-19T18:04:21.964Z] ---> 8aba5add529d [2023-05-19T18:04:21.964Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-19T18:04:21.964Z] ---> Running in de50aba3d65a [2023-05-19T18:04:22.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:04:22.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:04:22.434Z] Configure a credential helper to remove this warning. See [2023-05-19T18:04:22.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:04:22.434Z] [2023-05-19T18:04:22.434Z] Login Succeeded [2023-05-19T18:04:22.434Z] nexus3.edgexfoundry.org:10003 [2023-05-19T18:04:22.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:04:22.532Z] Removing intermediate container de50aba3d65a [2023-05-19T18:04:22.532Z] ---> 52546e8d73c4 [2023-05-19T18:04:22.532Z] Step 30/36 : EXPOSE 59983 [2023-05-19T18:04:22.532Z] ---> Running in a0ec4b62546c [2023-05-19T18:04:22.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:04:22.708Z] Configure a credential helper to remove this warning. See [2023-05-19T18:04:22.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:04:22.708Z] [2023-05-19T18:04:22.708Z] Login Succeeded [2023-05-19T18:04:22.708Z] nexus3.edgexfoundry.org:10004 [2023-05-19T18:04:22.793Z] Removing intermediate container a0ec4b62546c [2023-05-19T18:04:22.793Z] ---> 2fe3da908c05 [2023-05-19T18:04:22.793Z] Step 31/36 : EXPOSE 8554 [2023-05-19T18:04:22.793Z] ---> Running in 90a0106a0c7f [2023-05-19T18:04:22.793Z] Removing intermediate container 90a0106a0c7f [2023-05-19T18:04:22.793Z] ---> 58fc78563de6 [2023-05-19T18:04:22.793Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-19T18:04:22.793Z] ---> Running in ca5cf890b1fc [2023-05-19T18:04:22.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:04:22.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:04:22.988Z] Configure a credential helper to remove this warning. See [2023-05-19T18:04:22.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:04:22.988Z] [2023-05-19T18:04:22.988Z] Login Succeeded [2023-05-19T18:04:22.988Z] docker.io [2023-05-19T18:04:23.052Z] Removing intermediate container ca5cf890b1fc [2023-05-19T18:04:23.053Z] ---> 1e0800860608 [2023-05-19T18:04:23.053Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-19T18:04:23.053Z] ---> Running in 6d92ec6e8e2c [2023-05-19T18:04:23.053Z] Removing intermediate container 6d92ec6e8e2c [2023-05-19T18:04:23.053Z] ---> 11b851d8a841 [2023-05-19T18:04:23.053Z] Step 34/36 : LABEL arch=amd64 [2023-05-19T18:04:23.053Z] ---> Running in 2224444c2b76 [2023-05-19T18:04:23.053Z] Removing intermediate container 2224444c2b76 [2023-05-19T18:04:23.053Z] ---> 2b5186373baa [2023-05-19T18:04:23.053Z] Step 35/36 : LABEL git_sha=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [2023-05-19T18:04:23.053Z] ---> Running in 93acfd805aaf [2023-05-19T18:04:23.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-19T18:04:23.311Z] Removing intermediate container 93acfd805aaf [2023-05-19T18:04:23.311Z] ---> b655f5bf69ba [2023-05-19T18:04:23.311Z] Step 36/36 : LABEL version=0.0.0 [2023-05-19T18:04:23.311Z] ---> Running in c080bde8cd54 [2023-05-19T18:04:23.311Z] Removing intermediate container c080bde8cd54 [2023-05-19T18:04:23.311Z] ---> 5b7fbcb5bc6c [2023-05-19T18:04:23.311Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-19T18:04:23.311Z] Successfully built 5b7fbcb5bc6c [2023-05-19T18:04:23.311Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-05-19T18:04:23.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-19T18:04:23.532Z] Configure a credential helper to remove this warning. See [2023-05-19T18:04:23.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-19T18:04:23.532Z] [2023-05-19T18:04:23.532Z] Login Succeeded [2023-05-19T18:04:23.532Z] ---> docker-login.sh ends [Pipeline] } [2023-05-19T18:04:23.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 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 [Pipeline] echo [2023-05-19T18:04:24.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T18:04:24.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-19T18:04:24.155Z] ========================================================= [2023-05-19T18:04:24.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-19T18:04:24.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-05-19T18:04:24.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T18:04:24.327Z] [2023-05-19T18:04:24.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:04:24.673Z] + 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-19T18:04:24.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T18:04:24.794Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-19T18:04:24.794Z] 5eb5b503b376: Pulling fs layer [2023-05-19T18:04:24.794Z] 5c69ac0246d0: Pulling fs layer [2023-05-19T18:04:24.794Z] ec43610c2a17: Pulling fs layer [2023-05-19T18:04:24.794Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-19T18:04:24.794Z] 33b1e0a273af: Pulling fs layer [2023-05-19T18:04:24.794Z] 5d3b04190fa2: Pulling fs layer [2023-05-19T18:04:24.794Z] 2f39f015ded8: Pulling fs layer [2023-05-19T18:04:24.794Z] 33b1e0a273af: Waiting [2023-05-19T18:04:24.794Z] 2f39f015ded8: Waiting [2023-05-19T18:04:24.794Z] 3a2ae6a8a46f: Waiting [2023-05-19T18:04:24.794Z] 5c69ac0246d0: Download complete [2023-05-19T18:04:24.794Z] 3a2ae6a8a46f: Download complete [2023-05-19T18:04:24.794Z] 33b1e0a273af: Verifying Checksum [2023-05-19T18:04:24.794Z] 33b1e0a273af: Download complete [2023-05-19T18:04:24.794Z] 5d3b04190fa2: Verifying Checksum [2023-05-19T18:04:24.794Z] 5d3b04190fa2: Download complete [2023-05-19T18:04:24.794Z] ec43610c2a17: Verifying Checksum [2023-05-19T18:04:24.794Z] ec43610c2a17: Download complete [2023-05-19T18:04:24.952Z] Sending build context to Docker daemon 1.115MB [2023-05-19T18:04:24.952Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T18:04:24.952Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-19T18:04:25.057Z] 5eb5b503b376: Verifying Checksum [2023-05-19T18:04:25.057Z] 5eb5b503b376: Download complete [2023-05-19T18:04:25.225Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-19T18:04:25.225Z] c41833b44d91: Pulling fs layer [2023-05-19T18:04:25.225Z] ed15518f5707: Pulling fs layer [2023-05-19T18:04:25.225Z] feae8fd75edb: Pulling fs layer [2023-05-19T18:04:25.225Z] 242c74f7c9fa: Pulling fs layer [2023-05-19T18:04:25.225Z] 3cdef696dda3: Pulling fs layer [2023-05-19T18:04:25.225Z] 2ced38df9373: Pulling fs layer [2023-05-19T18:04:25.225Z] 58f1dce35555: Pulling fs layer [2023-05-19T18:04:25.225Z] 3cdef696dda3: Waiting [2023-05-19T18:04:25.225Z] 2ced38df9373: Waiting [2023-05-19T18:04:25.225Z] 58f1dce35555: Waiting [2023-05-19T18:04:25.225Z] 242c74f7c9fa: Waiting [2023-05-19T18:04:25.225Z] ed15518f5707: Download complete [2023-05-19T18:04:25.225Z] 242c74f7c9fa: Verifying Checksum [2023-05-19T18:04:25.225Z] 242c74f7c9fa: Download complete [2023-05-19T18:04:25.225Z] 3cdef696dda3: Download complete [2023-05-19T18:04:25.225Z] c41833b44d91: Verifying Checksum [2023-05-19T18:04:25.225Z] c41833b44d91: Download complete [2023-05-19T18:04:25.627Z] 2f39f015ded8: Download complete [2023-05-19T18:04:26.201Z] c41833b44d91: Pull complete [2023-05-19T18:04:26.254Z] 5eb5b503b376: Pull complete [2023-05-19T18:04:26.254Z] 5c69ac0246d0: Pull complete [2023-05-19T18:04:26.791Z] 58f1dce35555: Verifying Checksum [2023-05-19T18:04:26.791Z] 58f1dce35555: Download complete [2023-05-19T18:04:26.791Z] ed15518f5707: Pull complete [2023-05-19T18:04:26.821Z] ec43610c2a17: Pull complete [2023-05-19T18:04:26.821Z] 3a2ae6a8a46f: Pull complete [2023-05-19T18:04:27.077Z] 33b1e0a273af: Pull complete [2023-05-19T18:04:27.077Z] 5d3b04190fa2: Pull complete [2023-05-19T18:04:27.760Z] feae8fd75edb: Verifying Checksum [2023-05-19T18:04:27.760Z] feae8fd75edb: Download complete [2023-05-19T18:04:27.760Z] 2ced38df9373: Verifying Checksum [2023-05-19T18:04:27.760Z] 2ced38df9373: Download complete [2023-05-19T18:04:31.267Z] 2f39f015ded8: Pull complete [2023-05-19T18:04:31.267Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-19T18:04:31.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T18:04:31.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:04:31.512Z] prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container [2023-05-19T18:04:31.543Z] $ 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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-19T18:04:36.484Z] $ docker top 65617be6aa481865924f6aea019216662c99bde36ac46ee39858285072176b9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:04:36.948Z] ---> job-cost.sh [2023-05-19T18:04:36.948Z] lf-activate-venv: SKIPPING [2023-05-19T18:04:36.948Z] INFO: No Stack... [2023-05-19T18:04:37.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-19T18:04:37.774Z] INFO: Archiving Costs [Pipeline] sh [2023-05-19T18:04:38.087Z] + cat /w/workspace/foundry_device-usb-camera_PR-252/archives/cost.csv [2023-05-19T18:04:38.087Z] + cut -d, -f6 [Pipeline] lock [2023-05-19T18:04:38.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [2023-05-19T18:04:38.137Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] did not exist. Created. [2023-05-19T18:04:38.137Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-19T18:04:38.528Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-19T18:04:38.582Z] Stashed 1 file(s) [Pipeline] } [2023-05-19T18:04:38.611Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-19T18:04:38.692Z] $ docker stop --time=1 65617be6aa481865924f6aea019216662c99bde36ac46ee39858285072176b9a [2023-05-19T18:04:39.840Z] $ docker rm -f --volumes 65617be6aa481865924f6aea019216662c99bde36ac46ee39858285072176b9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-05-19T18:04:40.121Z] feae8fd75edb: Pull complete [2023-05-19T18:04:40.122Z] 242c74f7c9fa: Pull complete [2023-05-19T18:04:40.122Z] 3cdef696dda3: Pull complete [Pipeline] // stage [Pipeline] } [2023-05-19T18:04:45.486Z] 2ced38df9373: Pull complete [2023-05-19T18:04:47.465Z] 58f1dce35555: Pull complete [2023-05-19T18:04:47.465Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-19T18:04:47.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-19T18:04:47.465Z] ---> fadd8f120f05 [2023-05-19T18:04:47.465Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-19T18:04:49.428Z] ---> Running in ec2426786c50 [2023-05-19T18:04:49.697Z] Removing intermediate container ec2426786c50 [2023-05-19T18:04:49.697Z] ---> aeef853b5fe6 [2023-05-19T18:04:49.697Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T18:04:49.697Z] ---> Running in 64732f65e963 [2023-05-19T18:04:49.967Z] Removing intermediate container 64732f65e963 [2023-05-19T18:04:49.967Z] ---> 8f66c3ca4c24 [2023-05-19T18:04:49.967Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-19T18:04:49.967Z] ---> Running in c52e2df7f4e6 [2023-05-19T18:04:50.238Z] Removing intermediate container c52e2df7f4e6 [2023-05-19T18:04:50.238Z] ---> 45df0fc6e1fc [2023-05-19T18:04:50.238Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-19T18:04:50.509Z] ---> Running in 32048946468d [2023-05-19T18:04:50.781Z] Removing intermediate container 32048946468d [2023-05-19T18:04:50.781Z] ---> d004d9854085 [2023-05-19T18:04:50.781Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T18:04:50.781Z] ---> Running in 8d2c615efc31 [2023-05-19T18:04:51.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T18:04:52.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T18:04:53.303Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-19T18:04:53.303Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-19T18:04:53.303Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-19T18:04:53.570Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-19T18:04:53.570Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-19T18:04:53.570Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-19T18:04:53.570Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-19T18:04:53.570Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-19T18:04:53.570Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-19T18:04:53.570Z] (10/14) Installing kmod-libs (30-r1) [2023-05-19T18:04:53.570Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-19T18:04:53.570Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-19T18:04:53.570Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-19T18:04:53.570Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-19T18:04:53.570Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T18:04:53.838Z] Executing eudev-3.2.11-r4.trigger [2023-05-19T18:04:53.838Z] OK: 271 MiB in 67 packages [2023-05-19T18:04:54.802Z] Removing intermediate container 8d2c615efc31 [2023-05-19T18:04:54.802Z] ---> 8083173266d5 [2023-05-19T18:04:54.802Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-19T18:04:55.072Z] ---> Running in bf52880c7f56 [2023-05-19T18:04:55.342Z] Removing intermediate container bf52880c7f56 [2023-05-19T18:04:55.342Z] ---> f946a3db368a [2023-05-19T18:04:55.342Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-19T18:04:55.934Z] ---> 56aecbcb578a [2023-05-19T18:04:55.934Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T18:04:55.934Z] ---> Running in 18c2dcce4347 [2023-05-19T18:06:17.585Z] Removing intermediate container 18c2dcce4347 [2023-05-19T18:06:17.585Z] ---> fa3611c49770 [2023-05-19T18:06:17.585Z] Step 11/13 : COPY . . [2023-05-19T18:06:17.585Z] ---> c3cc97df079a [2023-05-19T18:06:17.585Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-19T18:06:17.585Z] ---> Running in 98c4c82ad3b0 [2023-05-19T18:06:17.585Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T18:06:17.585Z] Dload Upload Total Spent Left Speed [2023-05-19T18:06:17.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4124 0 --:--:-- --:--:-- --:--:-- 4148 [2023-05-19T18:06:17.585Z] Removing intermediate container 98c4c82ad3b0 [2023-05-19T18:06:17.585Z] ---> e5a095235ba0 [2023-05-19T18:06:17.585Z] Step 13/13 : RUN ${MAKE} [2023-05-19T18:06:17.585Z] ---> Running in 9beb0e5616c0 [2023-05-19T18:06:17.585Z] noop [2023-05-19T18:06:17.585Z] Removing intermediate container 9beb0e5616c0 [2023-05-19T18:06:17.585Z] ---> f6973d2b5046 [2023-05-19T18:06:17.585Z] Successfully built f6973d2b5046 [2023-05-19T18:06:17.585Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:06:18.059Z] + docker inspect -f . ci-base-image-arm64 [2023-05-19T18:06:18.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:06:18.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-16119 does not seem to be running inside a container [2023-05-19T18:06:18.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-19T18:06:19.442Z] $ docker top 9851e5ef5b9ccba8e7df1b3f0e140f4212564cfd0841af0ab722179063ad2130 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T18:06:20.284Z] + go version [2023-05-19T18:06:20.284Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-19T18:06:20.330Z] $ docker stop --time=1 9851e5ef5b9ccba8e7df1b3f0e140f4212564cfd0841af0ab722179063ad2130 [2023-05-19T18:06:21.913Z] $ docker rm -f --volumes 9851e5ef5b9ccba8e7df1b3f0e140f4212564cfd0841af0ab722179063ad2130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:06:22.770Z] + docker inspect -f . ci-base-image-arm64 [2023-05-19T18:06:22.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:06:23.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-16119 does not seem to be running inside a container [2023-05-19T18:06:23.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-19T18:06:24.192Z] $ docker top 274191eb319498f2b7ba8aaefac4399ada3773c3883ce6a8ae5857e3730eb5cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T18:06:24.733Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-19T18:06:25.117Z] + make test [2023-05-19T18:06:25.117Z] go test ./... -coverprofile=coverage.out ./... [2023-05-19T18:06:57.340Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-19T18:09:04.075Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-19T18:09:04.075Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.8% of statements [2023-05-19T18:09:04.075Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-19T18:09:04.075Z] go vet ./... [2023-05-19T18:09:26.146Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-19T18:09:26.146Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-19T18:09:26.146Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-19T18:09:26.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-19T18:09:26.492Z] $ docker stop --time=1 274191eb319498f2b7ba8aaefac4399ada3773c3883ce6a8ae5857e3730eb5cb [2023-05-19T18:09:30.850Z] $ docker rm -f --volumes 274191eb319498f2b7ba8aaefac4399ada3773c3883ce6a8ae5857e3730eb5cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-19T18:09:31.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-19T18:09:32.031Z] Warning: overwriting stash ‘coverage-report’ [2023-05-19T18:09:32.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-19T18:09:33.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-19T18:09:33.403Z] + ls -al . [2023-05-19T18:09:33.403Z] total 184 [2023-05-19T18:09:33.403Z] drwxrwxr-x 9 jenkins jenkins 4096 May 19 18:06 . [2023-05-19T18:09:33.403Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:03 .. [2023-05-19T18:09:33.403Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 18:03 .git [2023-05-19T18:09:33.403Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:03 .github [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 414 May 19 18:03 .gitignore [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 42 May 19 18:03 .golangci.yml [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 77 May 19 18:03 .hadolint.yml [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 19 18:03 Attribution.txt [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 19 18:03 CHANGELOG.md [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 2453 May 19 18:03 Dockerfile [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 678 May 19 18:03 GOVERNANCE.md [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 659 May 19 18:03 Jenkinsfile [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 19 18:03 LICENSE [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 19 18:03 Makefile [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 622 May 19 18:03 OWNERS.md [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 2477 May 19 18:03 README.md [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 18:02 VERSION [2023-05-19T18:09:33.403Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:03 bin [2023-05-19T18:09:33.403Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:03 cmd [2023-05-19T18:09:33.403Z] -rw-r--r-- 1 jenkins jenkins 31522 May 19 18:09 coverage.out [2023-05-19T18:09:33.403Z] -rwxrwxr-x 1 jenkins jenkins 140 May 19 18:03 docker-entrypoint.sh [2023-05-19T18:09:33.403Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:03 docs [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 3419 May 19 18:03 go.mod [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 31578 May 19 18:03 go.sum [2023-05-19T18:09:33.403Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:03 internal [2023-05-19T18:09:33.403Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:03 snap [2023-05-19T18:09:33.403Z] -rw-rw-r-- 1 jenkins jenkins 231 May 19 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:09:33.833Z] + 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=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de --label arch=arm64 --label version=0.0.0 . [2023-05-19T18:09:34.101Z] Sending build context to Docker daemon 1.147MB [2023-05-19T18:09:34.101Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-05-19T18:09:34.101Z] Step 2/36 : FROM ${BASE} AS builder [2023-05-19T18:09:34.101Z] ---> f6973d2b5046 [2023-05-19T18:09:34.101Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-05-19T18:09:34.370Z] ---> Running in 43fbfcdd0bb7 [2023-05-19T18:09:34.370Z] Removing intermediate container 43fbfcdd0bb7 [2023-05-19T18:09:34.370Z] ---> 482b4b606f7e [2023-05-19T18:09:34.636Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-19T18:09:34.636Z] ---> Running in 6585001ee168 [2023-05-19T18:09:34.901Z] Removing intermediate container 6585001ee168 [2023-05-19T18:09:34.901Z] ---> 2a651067677a [2023-05-19T18:09:34.901Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-19T18:09:34.901Z] ---> Running in 4269d91cea1c [2023-05-19T18:09:35.168Z] Removing intermediate container 4269d91cea1c [2023-05-19T18:09:35.169Z] ---> 67225a73bd62 [2023-05-19T18:09:35.169Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-19T18:09:35.169Z] ---> Running in dc70f21ce9f2 [2023-05-19T18:09:35.436Z] Removing intermediate container dc70f21ce9f2 [2023-05-19T18:09:35.436Z] ---> 2fc8df107139 [2023-05-19T18:09:35.436Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-19T18:09:35.705Z] ---> Running in af46bdb01f5d [2023-05-19T18:09:36.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T18:09:37.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T18:09:38.204Z] OK: 271 MiB in 67 packages [2023-05-19T18:09:38.784Z] Removing intermediate container af46bdb01f5d [2023-05-19T18:09:38.784Z] ---> 57ea0aa37aff [2023-05-19T18:09:38.784Z] Step 8/36 : WORKDIR /device-usb-camera [2023-05-19T18:09:38.784Z] ---> Running in 2e204ed63056 [2023-05-19T18:09:39.049Z] Removing intermediate container 2e204ed63056 [2023-05-19T18:09:39.049Z] ---> 9df3980dbdd9 [2023-05-19T18:09:39.049Z] Step 9/36 : COPY go.mod vendor* ./ [2023-05-19T18:09:39.630Z] ---> 3bd464f5b7af [2023-05-19T18:09:39.630Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-19T18:09:39.630Z] ---> Running in c183cdde60f7 [2023-05-19T18:09:44.959Z] Removing intermediate container c183cdde60f7 [2023-05-19T18:09:44.959Z] ---> 92471efb0210 [2023-05-19T18:09:44.959Z] Step 11/36 : COPY . . [2023-05-19T18:09:45.227Z] ---> bf02020c94f7 [2023-05-19T18:09:45.227Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-19T18:09:45.494Z] ---> Running in 27930ccf853f [2023-05-19T18:09:46.456Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T18:09:46.456Z]  Dload Upload Total Spent Left Speed [2023-05-19T18:09:46.456Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3283 0 --:--:-- --:--:-- --:--:-- 3298 [2023-05-19T18:09:47.422Z] Removing intermediate container 27930ccf853f [2023-05-19T18:09:47.422Z] ---> 7ee979601fa5 [2023-05-19T18:09:47.422Z] Step 13/36 : RUN ${MAKE} [2023-05-19T18:09:47.422Z] ---> Running in 59853ea1cddd [2023-05-19T18:09:48.380Z] 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-19T18:12:10.056Z] Removing intermediate container 59853ea1cddd [2023-05-19T18:12:10.056Z] ---> 3eaa042b6e2b [2023-05-19T18:12:10.056Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-19T18:12:10.640Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-19T18:12:13.222Z] 8766b47fe142: Pulling fs layer [2023-05-19T18:12:13.809Z] 8766b47fe142: Verifying Checksum [2023-05-19T18:12:13.809Z] 8766b47fe142: Download complete [2023-05-19T18:12:14.393Z] 8766b47fe142: Pull complete [2023-05-19T18:12:14.393Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-19T18:12:14.393Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-19T18:12:14.393Z] ---> 69d40e2cb93c [2023-05-19T18:12:14.393Z] Step 15/36 : FROM alpine:3.17 [2023-05-19T18:12:14.660Z] 3.17: Pulling from library/alpine [2023-05-19T18:12:14.937Z] c41833b44d91: Already exists [2023-05-19T18:12:14.937Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-19T18:12:14.937Z] Status: Downloaded newer image for alpine:3.17 [2023-05-19T18:12:14.937Z] ---> 51e60588ff2c [2023-05-19T18:12:14.937Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-19T18:12:15.208Z] ---> Running in 63934307f8bd [2023-05-19T18:12:15.478Z] Removing intermediate container 63934307f8bd [2023-05-19T18:12:15.478Z] ---> a07c756d1420 [2023-05-19T18:12:15.478Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-19T18:12:15.478Z] ---> Running in 4093353f2478 [2023-05-19T18:12:16.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-19T18:12:17.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-19T18:12:18.438Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-19T18:12:18.438Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-19T18:12:18.438Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-19T18:12:18.438Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-19T18:12:18.438Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-19T18:12:18.438Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-19T18:12:18.438Z] (7/83) Installing libxcb (1.15-r0) [2023-05-19T18:12:18.438Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-19T18:12:18.438Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-19T18:12:18.438Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-19T18:12:18.707Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-19T18:12:18.707Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-19T18:12:18.707Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-19T18:12:18.707Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-19T18:12:18.707Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-19T18:12:18.707Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-19T18:12:18.707Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-19T18:12:18.707Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-19T18:12:18.707Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-19T18:12:18.707Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-19T18:12:18.707Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-19T18:12:18.707Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-19T18:12:18.707Z] (23/83) Installing glib (2.74.6-r0) [2023-05-19T18:12:18.976Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-19T18:12:18.976Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-19T18:12:18.976Z] (26/83) Installing libass (0.16.0-r1) [2023-05-19T18:12:18.976Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-19T18:12:18.976Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-19T18:12:18.976Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-19T18:12:18.976Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-19T18:12:18.976Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-19T18:12:18.976Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-19T18:12:18.976Z] (33/83) Installing libunistring (1.1-r0) [2023-05-19T18:12:19.245Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-19T18:12:19.245Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-19T18:12:19.245Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-19T18:12:19.245Z] (37/83) Installing lame (3.100-r2) [2023-05-19T18:12:19.245Z] (38/83) Installing opus (1.3.1-r1) [2023-05-19T18:12:19.245Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-19T18:12:19.245Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-19T18:12:19.245Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-19T18:12:19.245Z] (42/83) Installing orc (0.4.33-r0) [2023-05-19T18:12:19.245Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-19T18:12:19.245Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-19T18:12:19.245Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-19T18:12:19.245Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-19T18:12:19.513Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-19T18:12:19.513Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-19T18:12:19.513Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-19T18:12:19.513Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-19T18:12:19.513Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-19T18:12:19.513Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-19T18:12:19.513Z] (53/83) Installing libpulse (16.1-r6) [2023-05-19T18:12:19.513Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-19T18:12:19.513Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-19T18:12:19.513Z] (56/83) Installing librist (0.2.7-r0) [2023-05-19T18:12:19.513Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-19T18:12:19.513Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-19T18:12:19.513Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-19T18:12:19.513Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-19T18:12:19.513Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-19T18:12:19.780Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-19T18:12:19.781Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-19T18:12:19.781Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-19T18:12:19.781Z] (65/83) Installing libva (2.16.0-r0) [2023-05-19T18:12:19.781Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-19T18:12:19.781Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-19T18:12:19.781Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-19T18:12:19.781Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-19T18:12:19.781Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-19T18:12:19.781Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-19T18:12:19.781Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-19T18:12:20.049Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-19T18:12:20.049Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-19T18:12:20.049Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-19T18:12:20.049Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-19T18:12:20.317Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-19T18:12:20.317Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-19T18:12:20.317Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-19T18:12:20.317Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-19T18:12:20.587Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-19T18:12:20.587Z] (82/83) Installing kmod-libs (30-r1) [2023-05-19T18:12:20.587Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-19T18:12:20.587Z] Executing busybox-1.35.0-r29.trigger [2023-05-19T18:12:20.587Z] Executing eudev-3.2.11-r4.trigger [2023-05-19T18:12:20.587Z] OK: 86 MiB in 98 packages [2023-05-19T18:12:24.027Z] Removing intermediate container 4093353f2478 [2023-05-19T18:12:24.028Z] ---> 4efacb69f45c [2023-05-19T18:12:24.028Z] Step 18/36 : WORKDIR / [2023-05-19T18:12:24.028Z] ---> Running in 2f9d6f43ce57 [2023-05-19T18:12:24.028Z] Removing intermediate container 2f9d6f43ce57 [2023-05-19T18:12:24.028Z] ---> 88dd5af0e96d [2023-05-19T18:12:24.028Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-05-19T18:12:25.529Z] ---> a0855e2536bf [2023-05-19T18:12:25.529Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-19T18:12:27.491Z] ---> 955994b86d49 [2023-05-19T18:12:27.491Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-19T18:12:27.767Z] ---> 771740b3de45 [2023-05-19T18:12:27.767Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-19T18:12:28.358Z] ---> 1ab07f40fce7 [2023-05-19T18:12:28.358Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-19T18:12:28.625Z] ---> affe87f2bdff [2023-05-19T18:12:28.625Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-19T18:12:29.210Z] ---> 7c8bbf7a063e [2023-05-19T18:12:29.210Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-05-19T18:12:30.625Z] ---> 57a164a9a66a [2023-05-19T18:12:30.625Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-19T18:12:30.625Z] ---> Running in bc918e474696 [2023-05-19T18:12:32.574Z] Removing intermediate container bc918e474696 [2023-05-19T18:12:32.574Z] ---> a93a12010faf [2023-05-19T18:12:32.574Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-19T18:12:32.574Z] ---> Running in 39af0f850cec [2023-05-19T18:12:33.986Z] Removing intermediate container 39af0f850cec [2023-05-19T18:12:33.986Z] ---> cb0ada7a6296 [2023-05-19T18:12:33.986Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-19T18:12:33.986Z] ---> Running in adc27b97acbd [2023-05-19T18:12:35.935Z] Removing intermediate container adc27b97acbd [2023-05-19T18:12:35.935Z] ---> d12dc263fdba [2023-05-19T18:12:35.935Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-05-19T18:12:35.935Z] ---> Running in 092b55f814d0 [2023-05-19T18:12:37.345Z] Removing intermediate container 092b55f814d0 [2023-05-19T18:12:37.345Z] ---> 5744a807336a [2023-05-19T18:12:37.345Z] Step 30/36 : EXPOSE 59983 [2023-05-19T18:12:37.345Z] ---> Running in 29126fc0dfc2 [2023-05-19T18:12:37.614Z] Removing intermediate container 29126fc0dfc2 [2023-05-19T18:12:37.614Z] ---> 34b25d895300 [2023-05-19T18:12:37.614Z] Step 31/36 : EXPOSE 8554 [2023-05-19T18:12:37.883Z] ---> Running in 1078911b193d [2023-05-19T18:12:38.151Z] Removing intermediate container 1078911b193d [2023-05-19T18:12:38.151Z] ---> ea711badbb02 [2023-05-19T18:12:38.151Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-19T18:12:38.151Z] ---> Running in f27444579523 [2023-05-19T18:12:38.419Z] Removing intermediate container f27444579523 [2023-05-19T18:12:38.419Z] ---> a6888e66f5a7 [2023-05-19T18:12:38.419Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-19T18:12:38.686Z] ---> Running in fa63e6bbae9f [2023-05-19T18:12:38.954Z] Removing intermediate container fa63e6bbae9f [2023-05-19T18:12:38.954Z] ---> 936d06de3533 [2023-05-19T18:12:38.954Z] Step 34/36 : LABEL arch=arm64 [2023-05-19T18:12:38.954Z] ---> Running in 73142d63a25e [2023-05-19T18:12:39.222Z] Removing intermediate container 73142d63a25e [2023-05-19T18:12:39.222Z] ---> 37629d647e28 [2023-05-19T18:12:39.222Z] Step 35/36 : LABEL git_sha=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [2023-05-19T18:12:39.222Z] ---> Running in f89c1fb9c758 [2023-05-19T18:12:39.492Z] Removing intermediate container f89c1fb9c758 [2023-05-19T18:12:39.492Z] ---> 657d74484cd2 [2023-05-19T18:12:39.492Z] Step 36/36 : LABEL version=0.0.0 [2023-05-19T18:12:39.759Z] ---> Running in ee8961ec6c5b [2023-05-19T18:12:40.027Z] Removing intermediate container ee8961ec6c5b [2023-05-19T18:12:40.027Z] ---> 969288e4c581 [2023-05-19T18:12:40.027Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-19T18:12:40.027Z] Successfully built 969288e4c581 [2023-05-19T18:12:40.027Z] 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-19T18:12:40.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T18:12:40.873Z] [2023-05-19T18:12:40.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:12:41.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T18:12:41.290Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-19T18:12:41.290Z] 8998bd30e6a1: Pulling fs layer [2023-05-19T18:12:41.290Z] 04944245beec: Pulling fs layer [2023-05-19T18:12:41.290Z] 699f458cf7ca: Pulling fs layer [2023-05-19T18:12:41.290Z] 765212b225bb: Pulling fs layer [2023-05-19T18:12:41.290Z] f23df028b6ca: Pulling fs layer [2023-05-19T18:12:41.290Z] d65c8cfc05b1: Pulling fs layer [2023-05-19T18:12:41.290Z] 2437ff75d9bd: Pulling fs layer [2023-05-19T18:12:41.290Z] f23df028b6ca: Waiting [2023-05-19T18:12:41.290Z] d65c8cfc05b1: Waiting [2023-05-19T18:12:41.290Z] 2437ff75d9bd: Waiting [2023-05-19T18:12:41.558Z] 04944245beec: Verifying Checksum [2023-05-19T18:12:41.558Z] 04944245beec: Download complete [2023-05-19T18:12:41.558Z] 765212b225bb: Verifying Checksum [2023-05-19T18:12:41.558Z] 765212b225bb: Download complete [2023-05-19T18:12:41.558Z] f23df028b6ca: Download complete [2023-05-19T18:12:41.558Z] d65c8cfc05b1: Verifying Checksum [2023-05-19T18:12:41.558Z] d65c8cfc05b1: Download complete [2023-05-19T18:12:41.826Z] 699f458cf7ca: Verifying Checksum [2023-05-19T18:12:41.826Z] 699f458cf7ca: Download complete [2023-05-19T18:12:42.093Z] 8998bd30e6a1: Verifying Checksum [2023-05-19T18:12:42.093Z] 8998bd30e6a1: Download complete [2023-05-19T18:12:44.041Z] 2437ff75d9bd: Verifying Checksum [2023-05-19T18:12:44.041Z] 2437ff75d9bd: Download complete [2023-05-19T18:12:45.981Z] 8998bd30e6a1: Pull complete [2023-05-19T18:12:46.565Z] 04944245beec: Pull complete [2023-05-19T18:12:47.976Z] 699f458cf7ca: Pull complete [2023-05-19T18:12:47.976Z] 765212b225bb: Pull complete [2023-05-19T18:12:48.937Z] f23df028b6ca: Pull complete [2023-05-19T18:12:48.937Z] d65c8cfc05b1: Pull complete [2023-05-19T18:13:03.934Z] 2437ff75d9bd: Pull complete [2023-05-19T18:13:03.934Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-19T18:13:03.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-19T18:13:03.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:13:04.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-16119 does not seem to be running inside a container [2023-05-19T18:13:04.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-19T18:13:06.923Z] $ docker top 5bb852c175303033ed6dee9f3e4e4438cca7ada329f266706060dc45fc86a59b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:07.508Z] ---> job-cost.sh [2023-05-19T18:13:07.778Z] lf-activate-venv: SKIPPING [2023-05-19T18:13:07.778Z] INFO: No Stack... [2023-05-19T18:13:08.044Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-19T18:13:09.005Z] INFO: Archiving Costs [Pipeline] sh [2023-05-19T18:13:09.345Z] + cut -d, -f6 [2023-05-19T18:13:09.345Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-05-19T18:13:09.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [2023-05-19T18:13:09.705Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] did not exist. Created. [2023-05-19T18:13:09.705Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-19T18:13:10.438Z] /w/workspace/device-usb-camera/1@tmp/durable-7e61f419/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-19T18:13:10.792Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-19T18:13:10.830Z] Warning: overwriting stash ‘stack-cost’ [2023-05-19T18:13:10.874Z] Stashed 1 file(s) [Pipeline] } [2023-05-19T18:13:10.892Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-19T18:13:10.982Z] $ docker stop --time=1 5bb852c175303033ed6dee9f3e4e4438cca7ada329f266706060dc45fc86a59b [2023-05-19T18:13:12.458Z] $ docker rm -f --volumes 5bb852c175303033ed6dee9f3e4e4438cca7ada329f266706060dc45fc86a59b [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-19T18:13:13.525Z] provisioning config files... [2023-05-19T18:13:13.533Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config8106190612526398563tmp [Pipeline] { [Pipeline] sh [2023-05-19T18:13:13.870Z] + set +x [2023-05-19T18:13:13.870Z] + + curl -s https://codecov.io/bash [2023-05-19T18:13:13.870Z] bash -s -- [2023-05-19T18:13:13.870Z] [2023-05-19T18:13:13.870Z] _____ _ [2023-05-19T18:13:13.870Z] / ____| | | [2023-05-19T18:13:13.870Z] | | ___ __| | ___ ___ _____ __ [2023-05-19T18:13:13.870Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-19T18:13:13.870Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-19T18:13:13.870Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-19T18:13:13.870Z] Bash-1.0.6 [2023-05-19T18:13:13.870Z] [2023-05-19T18:13:13.870Z] [2023-05-19T18:13:13.870Z] ==> git version 2.25.1 found [2023-05-19T18:13:13.870Z] ==> 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-19T18:13:13.870Z] Release-Date: 2020-01-08 [2023-05-19T18:13:13.870Z] 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-19T18:13:13.870Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-19T18:13:13.870Z] ==> Jenkins CI detected. [2023-05-19T18:13:13.870Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-252 [2023-05-19T18:13:13.870Z] project root: . [2023-05-19T18:13:13.870Z] --> token set from env [2023-05-19T18:13:13.870Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-19T18:13:13.870Z] ==> Running gcov in . (disable via -X gcov) [2023-05-19T18:13:13.870Z] ==> Python coveragepy not found [2023-05-19T18:13:13.870Z] ==> Searching for coverage reports in: [2023-05-19T18:13:13.870Z] + . [2023-05-19T18:13:13.870Z] -> Found 1 reports [2023-05-19T18:13:13.870Z] ==> Detecting git/mercurial file structure [2023-05-19T18:13:13.870Z] ==> Reading reports [2023-05-19T18:13:14.130Z] + ./coverage.out bytes=31522 [2023-05-19T18:13:14.130Z] ==> Appending adjustments [2023-05-19T18:13:14.130Z] https://docs.codecov.io/docs/fixing-reports [2023-05-19T18:13:14.130Z] + Found adjustments [2023-05-19T18:13:14.130Z] ==> Gzipping contents [2023-05-19T18:13:14.130Z] 8.0K /tmp/codecov.ge7AZh.gz [2023-05-19T18:13:14.130Z] ==> Uploading reports [2023-05-19T18:13:14.130Z] url: https://codecov.io [2023-05-19T18:13:14.130Z] query: branch=PR-252&commit=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-252%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=252&job=&cmd_args= [2023-05-19T18:13:14.130Z] -> Pinging Codecov [2023-05-19T18:13:14.130Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-252&commit=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-252%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=252&job=&cmd_args= [2023-05-19T18:13:14.130Z] -> Uploading to [2023-05-19T18:13:14.130Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-19/73D8F5FF140700D3E01443B452E23636/c5ff75a6f307b5f31bf914ce62c0aaeacb3091de/f7280fe0-85a4-4e15-94a6-1237500d7daa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230519T181314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e51858837cf3ce074c2e571bef586b42dadc2158ab9da897cd3ff25981b9191 [2023-05-19T18:13:14.130Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-19T18:13:14.130Z] Dload Upload Total Spent Left Speed [2023-05-19T18:13:14.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 13588 --:--:-- --:--:-- --:--:-- 13588 [2023-05-19T18:13:14.699Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] } [2023-05-19T18:13:14.728Z] 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-19T18:13:16.665Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-252/archives ] [2023-05-19T18:13:16.665Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-252/archives [2023-05-19T18:13:16.665Z] total 16 [2023-05-19T18:13:16.665Z] drwxr-xr-x 3 root root 4096 May 19 18:04 . [2023-05-19T18:13:16.665Z] drwxrwxr-x 11 jenkins jenkins 4096 May 19 18:04 .. [2023-05-19T18:13:16.665Z] drwxr-xr-x 2 root root 4096 May 19 18:04 cost [2023-05-19T18:13:16.665Z] -rw-r--r-- 1 root root 89 May 19 18:04 cost.csv [2023-05-19T18:13:16.665Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-252/archives [2023-05-19T18:13:16.665Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-252/archives [2023-05-19T18:13:16.665Z] total 16 [2023-05-19T18:13:16.665Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 18:04 . [2023-05-19T18:13:16.665Z] drwxrwxr-x 11 jenkins jenkins 4096 May 19 18:04 .. [2023-05-19T18:13:16.665Z] drwxr-xr-x 2 jenkins jenkins 4096 May 19 18:04 cost [2023-05-19T18:13:16.665Z] -rw-r--r-- 1 jenkins jenkins 89 May 19 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:16.997Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:17.887Z] ---> package-listing.sh [2023-05-19T18:13:17.887Z] ++ facter osfamily [2023-05-19T18:13:17.887Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-19T18:13:17.887Z] + OS_FAMILY=debian [2023-05-19T18:13:17.887Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-252 [2023-05-19T18:13:17.887Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-19T18:13:17.887Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-19T18:13:17.887Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-19T18:13:17.887Z] + PACKAGES=/tmp/packages_start.txt [2023-05-19T18:13:17.887Z] + '[' /w/workspace/foundry_device-usb-camera_PR-252 ']' [2023-05-19T18:13:17.887Z] + PACKAGES=/tmp/packages_end.txt [2023-05-19T18:13:17.887Z] + case "${OS_FAMILY}" in [2023-05-19T18:13:17.887Z] + dpkg -l [2023-05-19T18:13:17.887Z] + grep '^ii' [2023-05-19T18:13:18.146Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-19T18:13:18.146Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-19T18:13:18.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-19T18:13:18.146Z] + '[' /w/workspace/foundry_device-usb-camera_PR-252 ']' [2023-05-19T18:13:18.146Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-252/archives/ [2023-05-19T18:13:18.146Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-252/archives/ [Pipeline] echo [2023-05-19T18:13:18.194Z] 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-252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-19T18:13:18.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-19T18:13:18.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-19T18:13:18.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-19T18:13:19.025Z] prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container [2023-05-19T18:13:19.067Z] $ 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-252/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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-19T18:13:19.287Z] $ docker top 1d5d5389bee62e3fbcb8b81e52006651ddba914836760d0bf27ca79f152ec2af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-19T18:13:19.678Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-19T18:13:19.986Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-19T18:13:20.296Z] + ls /var/log/sa-host [2023-05-19T18:13:20.296Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-19T18:13:20.443Z] provisioning config files... [2023-05-19T18:13:20.456Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config10234429092301458456tmp [Pipeline] { [Pipeline] echo [2023-05-19T18:13:20.503Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:20.813Z] ---> create-netrc.sh [Pipeline] } [2023-05-19T18:13:20.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:21.253Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-19T18:13:21.286Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:21.601Z] ---> sudo-logs.sh [2023-05-19T18:13:21.601Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-19T18:13:21.688Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:22.004Z] ---> job-cost.sh [2023-05-19T18:13:22.004Z] lf-activate-venv: SKIPPING [2023-05-19T18:13:22.004Z] DEBUG: total: 0.2199999988079071 [2023-05-19T18:13:22.004Z] INFO: Retrieving Stack Cost... [2023-05-19T18:13:22.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-19T18:13:22.833Z] INFO: Archiving Costs [Pipeline] echo [2023-05-19T18:13:22.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-19T18:13:23.185Z] ---> logs-deploy.sh [2023-05-19T18:13:23.185Z] lf-activate-venv: SKIPPING [2023-05-19T18:13:23.185Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-252/1 [2023-05-19T18:13:23.185Z] INFO: archiving workspace using pattern(s): [2023-05-19T18:13:24.125Z] Archives upload complete. [2023-05-19T18:13:24.125Z] INFO: archiving logs to Nexus