Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jim-wang-intel for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c rather than 76e3f54acd07913db0165e42833f4c31f467d1ac Obtained Jenkinsfile from 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c 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-ssh10698346883537433091.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7850836264117460298.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-217/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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16451407882032821586.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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10375992251814902477.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1902959903424628631.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-217/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-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8777037089711570058.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8791 in /w/workspace/foundry_device-usb-camera_PR-217 [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-217 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c into PR head commit 76e3f54acd07913db0165e42833f4c31f467d1ac > 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/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # 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 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c # timeout=10 Merge succeeded, producing 76e3f54acd07913db0165e42833f4c31f467d1ac Checking out Revision 76e3f54acd07913db0165e42833f4c31f467d1ac (PR-217) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # timeout=10 Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T20:53:41.838Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T20:53:42.005Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T20:53:42.098Z] ========================================================= [2023-04-17T20:53:42.098Z] EdgeX Global Pipelines Version Info [2023-04-17T20:53:42.098Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:53:42.857Z] ------------------- [2023-04-17T20:53:42.857Z] stable info: [2023-04-17T20:53:42.857Z] ------------------- [2023-04-17T20:53:42.857Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T20:53:42.857Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:53:42.857Z] Message: update stable to v1.0.248 [2023-04-17T20:53:43.428Z] ------------------- [2023-04-17T20:53:43.428Z] experimental info: [2023-04-17T20:53:43.428Z] ------------------- [2023-04-17T20:53:43.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T20:53:43.428Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:53:43.428Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T20:53:43.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-04-17T20:53:43.745Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-04-17T20:53:43.784Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T20:53:43.825Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T20:53:43.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T20:53:43.901Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T20:53:43.938Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T20:53:43.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T20:53:44.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T20:53:44.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T20:53:44.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T20:53:44.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-04-17T20:53:44.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T20:53:44.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T20:53:44.242Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:53:44.283Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:53:44.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:53:44.356Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:53:44.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T20:53:44.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T20:53:44.470Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T20:53:44.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T20:53:44.556Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T20:53:44.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T20:53:44.638Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T20:53:44.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T20:53:44.721Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T20:53:44.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo [2023-04-17T20:53:44.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo [2023-04-17T20:53:44.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo [2023-04-17T20:53:44.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo [2023-04-17T20:53:44.933Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76e3f54 [Pipeline] echo [2023-04-17T20:53:44.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:53:45.088Z] provisioning config files... [2023-04-17T20:53:45.103Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config15437677918430836082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:53:45.446Z] ---> docker-login.sh [2023-04-17T20:53:45.447Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:53:45.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:53:45.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:53:45.707Z] Configure a credential helper to remove this warning. See [2023-04-17T20:53:45.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:53:45.707Z] [2023-04-17T20:53:45.707Z] Login Succeeded [2023-04-17T20:53:45.707Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:53:45.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:53:45.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:53:45.968Z] Configure a credential helper to remove this warning. See [2023-04-17T20:53:45.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:53:45.968Z] [2023-04-17T20:53:45.968Z] Login Succeeded [2023-04-17T20:53:45.968Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:53:45.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:53:45.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:53:45.968Z] Configure a credential helper to remove this warning. See [2023-04-17T20:53:45.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:53:45.968Z] [2023-04-17T20:53:45.968Z] Login Succeeded [2023-04-17T20:53:45.968Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:53:45.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:53:45.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:53:45.968Z] Configure a credential helper to remove this warning. See [2023-04-17T20:53:45.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:53:45.968Z] [2023-04-17T20:53:45.968Z] Login Succeeded [2023-04-17T20:53:46.230Z] docker.io [2023-04-17T20:53:46.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:53:46.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:53:46.491Z] Configure a credential helper to remove this warning. See [2023-04-17T20:53:46.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:53:46.491Z] [2023-04-17T20:53:46.491Z] Login Succeeded [2023-04-17T20:53:46.491Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:53:46.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T20:53:47.157Z] + git rev-list -1 --merges 76e3f54acd07913db0165e42833f4c31f467d1ac~1..76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo [2023-04-17T20:53:47.221Z] -----------> git rev-list -1 --merges 76e3f54acd07913db0165e42833f4c31f467d1ac~1..76e3f54acd07913db0165e42833f4c31f467d1ac 76e3f54acd07913db0165e42833f4c31f467d1ac [false] [Pipeline] sh [2023-04-17T20:53:47.529Z] + git log --format=format:%s -1 76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo [2023-04-17T20:53:47.565Z] ========================================================= [2023-04-17T20:53:47.565Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T20:53:47.565Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:53:47.983Z] + git log --format=format:%s -1 76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo [2023-04-17T20:53:48.016Z] [semverPrep] GIT_COMMIT: 76e3f54acd07913db0165e42833f4c31f467d1ac, Commit Message: fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs [Pipeline] echo [2023-04-17T20:53:48.047Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T20:53:48.445Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:53:48.445Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T20:53:48.445Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T20:53:48.445Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T20:53:48.445Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T20:53:48.445Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T20:53:48.445Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:53:48.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:53:48.936Z] [2023-04-17T20:53:48.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:53:49.314Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:53:49.314Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T20:53:49.314Z] b85a868b505f: Pulling fs layer [2023-04-17T20:53:49.314Z] e2be974225ed: Pulling fs layer [2023-04-17T20:53:49.314Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T20:53:49.314Z] 988bab9f4d93: Pulling fs layer [2023-04-17T20:53:49.314Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T20:53:49.314Z] eaf3925da568: Pulling fs layer [2023-04-17T20:53:49.314Z] 1469e6f7b9e6: Waiting [2023-04-17T20:53:49.314Z] bab4dde63d76: Pulling fs layer [2023-04-17T20:53:49.314Z] bde34c3a00c8: Pulling fs layer [2023-04-17T20:53:49.314Z] 988bab9f4d93: Waiting [2023-04-17T20:53:49.314Z] eaf3925da568: Waiting [2023-04-17T20:53:49.314Z] bab4dde63d76: Waiting [2023-04-17T20:53:49.314Z] b352a97aabf1: Pulling fs layer [2023-04-17T20:53:49.314Z] 4872d77fe225: Pulling fs layer [2023-04-17T20:53:49.314Z] bde34c3a00c8: Waiting [2023-04-17T20:53:49.314Z] b352a97aabf1: Waiting [2023-04-17T20:53:49.314Z] 5851b861e8e6: Pulling fs layer [2023-04-17T20:53:49.314Z] 4872d77fe225: Waiting [2023-04-17T20:53:49.314Z] 5851b861e8e6: Waiting [2023-04-17T20:53:49.314Z] e2be974225ed: Verifying Checksum [2023-04-17T20:53:49.314Z] e2be974225ed: Download complete [2023-04-17T20:53:49.314Z] 988bab9f4d93: Verifying Checksum [2023-04-17T20:53:49.314Z] 988bab9f4d93: Download complete [2023-04-17T20:53:49.314Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T20:53:49.314Z] 1469e6f7b9e6: Download complete [2023-04-17T20:53:49.314Z] eaf3925da568: Verifying Checksum [2023-04-17T20:53:49.314Z] eaf3925da568: Download complete [2023-04-17T20:53:49.573Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T20:53:49.573Z] 339a4e72a1f5: Download complete [2023-04-17T20:53:49.573Z] bde34c3a00c8: Verifying Checksum [2023-04-17T20:53:49.573Z] bde34c3a00c8: Download complete [2023-04-17T20:53:49.573Z] b352a97aabf1: Download complete [2023-04-17T20:53:49.573Z] 4872d77fe225: Download complete [2023-04-17T20:53:49.573Z] 5851b861e8e6: Verifying Checksum [2023-04-17T20:53:49.573Z] 5851b861e8e6: Download complete [2023-04-17T20:53:49.573Z] b85a868b505f: Verifying Checksum [2023-04-17T20:53:49.573Z] b85a868b505f: Download complete [2023-04-17T20:53:49.831Z] bab4dde63d76: Verifying Checksum [2023-04-17T20:53:49.831Z] bab4dde63d76: Download complete [2023-04-17T20:53:50.807Z] b85a868b505f: Pull complete [2023-04-17T20:53:50.807Z] e2be974225ed: Pull complete [2023-04-17T20:53:51.395Z] 339a4e72a1f5: Pull complete [2023-04-17T20:53:51.395Z] 988bab9f4d93: Pull complete [2023-04-17T20:53:51.654Z] 1469e6f7b9e6: Pull complete [2023-04-17T20:53:51.654Z] eaf3925da568: Pull complete [2023-04-17T20:53:53.568Z] bab4dde63d76: Pull complete [2023-04-17T20:53:53.568Z] bde34c3a00c8: Pull complete [2023-04-17T20:53:53.568Z] b352a97aabf1: Pull complete [2023-04-17T20:53:53.827Z] 4872d77fe225: Pull complete [2023-04-17T20:53:53.827Z] 5851b861e8e6: Pull complete [2023-04-17T20:53:53.827Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T20:53:53.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:53:53.827Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:53:54.072Z] prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container [2023-04-17T20:53:54.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@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-devops/py-git-semver:0.1.4 cat [2023-04-17T20:53:55.268Z] $ docker top fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 -eo pid,comm [2023-04-17T20:53:55.343Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-17T20:53:55.343Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:53:55.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:53:55.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:53:55.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:53:55.581Z] $ docker exec fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent [2023-04-17T20:53:55.700Z] SSH_AUTH_SOCK=/tmp/ssh-W5DhYxdcFyHy/agent.32 [2023-04-17T20:53:55.700Z] SSH_AGENT_PID=39 [2023-04-17T20:53:55.706Z] Running ssh-add (command line suppressed) [2023-04-17T20:53:55.798Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_1840872819769008146.key (/w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_1840872819769008146.key) [2023-04-17T20:53:55.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:53:56.150Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T20:53:56.163Z] $ docker exec --env ******** --env ******** fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent -k [2023-04-17T20:53:56.258Z] unset SSH_AUTH_SOCK; [2023-04-17T20:53:56.259Z] unset SSH_AGENT_PID; [2023-04-17T20:53:56.259Z] echo Agent pid 39 killed; [2023-04-17T20:53:56.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T20:53:56.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:53:56.368Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:53:56.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:53:56.469Z] $ docker exec fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent [2023-04-17T20:53:56.583Z] SSH_AUTH_SOCK=/tmp/ssh-hyARSbcoBb1P/agent.71 [2023-04-17T20:53:56.583Z] SSH_AGENT_PID=78 [2023-04-17T20:53:56.588Z] Running ssh-add (command line suppressed) [2023-04-17T20:53:56.681Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_5605140926474587686.key (/w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_5605140926474587686.key) [2023-04-17T20:53:56.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:53:57.029Z] + git semver init [2023-04-17T20:53:57.288Z] 2023-04-17 20:53:57,191 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T20:53:57.288Z] 2023-04-17 20:53:57,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-217/.semver [2023-04-17T20:53:57.288Z] 2023-04-17 20:53:57,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-217/.semver [2023-04-17T20:53:57.288Z] 2023-04-17 20:53:57,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-217/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-217, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,862 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-217/.git/info/exclude [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-217/.semver/PR-217 with force:False [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,862 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-217/.semver/PR-217 [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,867 [execute] INFO git cat-file --batch-check [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,874 [execute] INFO git cat-file --batch [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:53:58.227Z] 2023-04-17 20:53:57,881 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-217/.semver/PR-217 [2023-04-17T20:53:58.227Z] 0.0.0 [Pipeline] } [2023-04-17T20:53:58.245Z] $ docker exec --env ******** --env ******** fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent -k [2023-04-17T20:53:58.345Z] unset SSH_AUTH_SOCK; [2023-04-17T20:53:58.345Z] unset SSH_AGENT_PID; [2023-04-17T20:53:58.345Z] echo Agent pid 78 killed; [2023-04-17T20:53:58.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:53:58.786Z] + git semver [Pipeline] } [2023-04-17T20:53:59.059Z] $ docker stop --time=1 fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 [2023-04-17T20:54:00.361Z] $ docker rm -f --volumes fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:54:00.777Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T20:54:01.026Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T20:54:01.043Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:54:01.643Z] provisioning config files... [2023-04-17T20:54:01.654Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config15978346010706986193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:54:01.994Z] ---> docker-login.sh [2023-04-17T20:54:01.994Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:54:01.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:54:01.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:54:01.994Z] Configure a credential helper to remove this warning. See [2023-04-17T20:54:01.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:54:01.994Z] [2023-04-17T20:54:01.994Z] Login Succeeded [2023-04-17T20:54:01.994Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:54:01.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:54:01.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:54:01.994Z] Configure a credential helper to remove this warning. See [2023-04-17T20:54:01.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:54:01.994Z] [2023-04-17T20:54:01.994Z] Login Succeeded [2023-04-17T20:54:01.994Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:54:02.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:54:02.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:54:02.255Z] Configure a credential helper to remove this warning. See [2023-04-17T20:54:02.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:54:02.255Z] [2023-04-17T20:54:02.255Z] Login Succeeded [2023-04-17T20:54:02.255Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:54:02.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:54:02.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:54:02.255Z] Configure a credential helper to remove this warning. See [2023-04-17T20:54:02.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:54:02.255Z] [2023-04-17T20:54:02.255Z] Login Succeeded [2023-04-17T20:54:02.255Z] docker.io [2023-04-17T20:54:02.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:54:02.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:54:02.514Z] Configure a credential helper to remove this warning. See [2023-04-17T20:54:02.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:54:02.514Z] [2023-04-17T20:54:02.514Z] Login Succeeded [2023-04-17T20:54:02.514Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:54:02.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:54:02.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:54:02.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:54:02.816Z] ========================================================= [2023-04-17T20:54:02.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T20:54:02.816Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:54:03.303Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T20:54:03.303Z] Sending build context to Docker daemon 1.904MB [2023-04-17T20:54:03.303Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:54:03.303Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T20:54:03.303Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T20:54:03.303Z] 63b65145d645: Pulling fs layer [2023-04-17T20:54:03.303Z] a2d21d5440eb: Pulling fs layer [2023-04-17T20:54:03.303Z] 935e6c44a52c: Pulling fs layer [2023-04-17T20:54:03.303Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T20:54:03.303Z] 30dea6a524f1: Pulling fs layer [2023-04-17T20:54:03.303Z] a2aff8979fd8: Pulling fs layer [2023-04-17T20:54:03.303Z] 6808be2612f2: Pulling fs layer [2023-04-17T20:54:03.303Z] f25807f1079a: Pulling fs layer [2023-04-17T20:54:03.303Z] 30dea6a524f1: Waiting [2023-04-17T20:54:03.303Z] a2aff8979fd8: Waiting [2023-04-17T20:54:03.303Z] 6808be2612f2: Waiting [2023-04-17T20:54:03.303Z] 94cc34f8dd06: Waiting [2023-04-17T20:54:03.303Z] f25807f1079a: Waiting [2023-04-17T20:54:03.303Z] a2d21d5440eb: Verifying Checksum [2023-04-17T20:54:03.303Z] a2d21d5440eb: Download complete [2023-04-17T20:54:03.303Z] 94cc34f8dd06: Download complete [2023-04-17T20:54:03.303Z] 30dea6a524f1: Verifying Checksum [2023-04-17T20:54:03.303Z] 30dea6a524f1: Download complete [2023-04-17T20:54:03.303Z] 63b65145d645: Verifying Checksum [2023-04-17T20:54:03.303Z] 63b65145d645: Download complete [2023-04-17T20:54:03.563Z] a2aff8979fd8: Verifying Checksum [2023-04-17T20:54:03.563Z] a2aff8979fd8: Download complete [2023-04-17T20:54:03.563Z] 63b65145d645: Pull complete [2023-04-17T20:54:03.563Z] a2d21d5440eb: Pull complete [2023-04-17T20:54:03.823Z] f25807f1079a: Verifying Checksum [2023-04-17T20:54:03.823Z] f25807f1079a: Download complete [2023-04-17T20:54:04.083Z] 935e6c44a52c: Verifying Checksum [2023-04-17T20:54:04.083Z] 935e6c44a52c: Download complete [2023-04-17T20:54:04.083Z] 6808be2612f2: Verifying Checksum [2023-04-17T20:54:04.083Z] 6808be2612f2: Download complete [2023-04-17T20:54:08.270Z] 935e6c44a52c: Pull complete [2023-04-17T20:54:08.270Z] 94cc34f8dd06: Pull complete [2023-04-17T20:54:08.270Z] 30dea6a524f1: Pull complete [2023-04-17T20:54:08.270Z] a2aff8979fd8: Pull complete [2023-04-17T20:54:10.171Z] 6808be2612f2: Pull complete [2023-04-17T20:54:11.106Z] f25807f1079a: Pull complete [2023-04-17T20:54:11.106Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T20:54:11.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T20:54:11.106Z] ---> 3b553350e43f [2023-04-17T20:54:11.106Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:54:12.486Z] ---> Running in 5f410909413d [2023-04-17T20:54:12.486Z] Removing intermediate container 5f410909413d [2023-04-17T20:54:12.486Z] ---> 52bf41e7df62 [2023-04-17T20:54:12.486Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:54:12.486Z] ---> Running in c980a47453af [2023-04-17T20:54:12.486Z] Removing intermediate container c980a47453af [2023-04-17T20:54:12.486Z] ---> a4bd74c08ad6 [2023-04-17T20:54:12.486Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-17T20:54:12.486Z] ---> Running in 275208d2df8a [2023-04-17T20:54:12.744Z] Removing intermediate container 275208d2df8a [2023-04-17T20:54:12.744Z] ---> 8175e69ca5fe [2023-04-17T20:54:12.744Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-17T20:54:12.744Z] ---> Running in b5cafb0d74fd [2023-04-17T20:54:12.744Z] Removing intermediate container b5cafb0d74fd [2023-04-17T20:54:12.744Z] ---> 75a3fad7578d [2023-04-17T20:54:12.744Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:54:12.744Z] ---> Running in 11e42d799f01 [2023-04-17T20:54:13.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:54:13.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:54:13.519Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-17T20:54:13.519Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-17T20:54:13.519Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-17T20:54:13.519Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-17T20:54:13.519Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-17T20:54:13.519Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-17T20:54:13.519Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-17T20:54:13.519Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-17T20:54:13.519Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-17T20:54:13.519Z] (10/14) Installing kmod-libs (30-r1) [2023-04-17T20:54:13.519Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-17T20:54:13.519Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-17T20:54:13.519Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-17T20:54:13.519Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-17T20:54:13.519Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:54:13.519Z] Executing eudev-3.2.11-r4.trigger [2023-04-17T20:54:13.519Z] OK: 272 MiB in 67 packages [2023-04-17T20:54:14.086Z] Removing intermediate container 11e42d799f01 [2023-04-17T20:54:14.086Z] ---> 4d4bdf02de7e [2023-04-17T20:54:14.086Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-17T20:54:14.086Z] ---> Running in 92600c031e61 [2023-04-17T20:54:14.086Z] Removing intermediate container 92600c031e61 [2023-04-17T20:54:14.086Z] ---> bc3bd9da339a [2023-04-17T20:54:14.086Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-17T20:54:14.357Z] ---> b740951580b9 [2023-04-17T20:54:14.357Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:54:14.357Z] ---> Running in 72bdea7ce38d [2023-04-17T20:54:16.471Z] Still waiting to schedule task [2023-04-17T20:54:16.471Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-17T20:54:36.299Z] Removing intermediate container 72bdea7ce38d [2023-04-17T20:54:36.299Z] ---> c905c81a72bc [2023-04-17T20:54:36.299Z] Step 11/13 : COPY . . [2023-04-17T20:54:36.299Z] ---> 2af1c584e333 [2023-04-17T20:54:36.299Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-17T20:54:36.299Z] ---> Running in 5e8f7d7450ce [2023-04-17T20:54:36.299Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:54:36.299Z] Dload Upload Total Spent Left Speed [2023-04-17T20:54:36.299Z] 0 0 0  0 0 0   0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7053 0 --:--:-- --:--:-- --:--:--  7080 [2023-04-17T20:54:36.299Z] Removing intermediate container 5e8f7d7450ce [2023-04-17T20:54:36.299Z] ---> 9dc441f5897d [2023-04-17T20:54:36.299Z] Step 13/13 : RUN ${MAKE} [2023-04-17T20:54:36.299Z] ---> Running in 1ee8cd2c2037 [2023-04-17T20:54:36.299Z] noop [2023-04-17T20:54:36.300Z] Removing intermediate container 1ee8cd2c2037 [2023-04-17T20:54:36.300Z] ---> 42efb97bf2c6 [2023-04-17T20:54:36.300Z] Successfully built 42efb97bf2c6 [2023-04-17T20:54:36.300Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:54:36.748Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:54:36.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:54:36.898Z] prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container [2023-04-17T20:54:36.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T20:54:37.247Z] $ docker top c81565c415ba607240a05d9c728b60b8dba6a58726bd83a95a598327f43a9a21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:54:37.639Z] + go version [2023-04-17T20:54:37.639Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T20:54:37.672Z] $ docker stop --time=1 c81565c415ba607240a05d9c728b60b8dba6a58726bd83a95a598327f43a9a21 [2023-04-17T20:54:38.921Z] $ docker rm -f --volumes c81565c415ba607240a05d9c728b60b8dba6a58726bd83a95a598327f43a9a21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:54:39.621Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:54:39.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:54:39.772Z] prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container [2023-04-17T20:54:39.806Z] $ 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-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T20:54:40.140Z] $ docker top f2b730a05321899aca1d8b9facfee30ad09f9b29b6150154bb3ad59bad8bcd62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:54:40.523Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-217 [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:54:40.881Z] + make test [2023-04-17T20:54:40.881Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T20:54:45.067Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-17T20:54:57.269Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-04-17T20:54:57.269Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 2.0% of statements [2023-04-17T20:55:02.530Z] go vet ./... [2023-04-17T20:55:05.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:55:05.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:55:05.804Z] ./bin/test-attribution-txt.sh [2023-04-17T20:55:05.804Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:55:05.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:55:05.882Z] $ docker stop --time=1 f2b730a05321899aca1d8b9facfee30ad09f9b29b6150154bb3ad59bad8bcd62 [2023-04-17T20:55:07.658Z] $ docker rm -f --volumes f2b730a05321899aca1d8b9facfee30ad09f9b29b6150154bb3ad59bad8bcd62 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:55:08.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:55:08.274Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T20:55:08.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:55:09.241Z] + ls -al . [2023-04-17T20:55:09.241Z] total 188 [2023-04-17T20:55:09.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:54 . [2023-04-17T20:55:09.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:53 .. [2023-04-17T20:55:09.241Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:53 .git [2023-04-17T20:55:09.241Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:53 .github [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 414 Apr 17 20:53 .gitignore [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 20:53 .golangci.yml [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 77 Apr 17 20:53 .hadolint.yml [2023-04-17T20:55:09.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:53 .semver [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 9535 Apr 17 20:53 Attribution.txt [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 6219 Apr 17 20:53 CHANGELOG.md [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 2328 Apr 17 20:53 Dockerfile [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 20:53 GOVERNANCE.md [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 659 Apr 17 20:53 Jenkinsfile [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 20:53 LICENSE [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 2364 Apr 17 20:53 Makefile [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 20:53 OWNERS.md [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 5681 Apr 17 20:53 README.md [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 20:54 VERSION [2023-04-17T20:55:09.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:53 bin [2023-04-17T20:55:09.241Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:53 cmd [2023-04-17T20:55:09.241Z] -rw-r--r-- 1 jenkins jenkins 28352 Apr 17 20:54 coverage.out [2023-04-17T20:55:09.241Z] -rwxrwxr-x 1 jenkins jenkins 140 Apr 17 20:53 docker-entrypoint.sh [2023-04-17T20:55:09.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:53 docs [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 3443 Apr 17 20:53 go.mod [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 31713 Apr 17 20:53 go.sum [2023-04-17T20:55:09.241Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:53 internal [2023-04-17T20:55:09.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:53 snap [2023-04-17T20:55:09.241Z] -rw-rw-r-- 1 jenkins jenkins 231 Apr 17 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:55:09.627Z] + 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=76e3f54acd07913db0165e42833f4c31f467d1ac --label arch=amd64 --label version=0.0.0 . [2023-04-17T20:55:09.628Z] Sending build context to Docker daemon 1.933MB [2023-04-17T20:55:09.628Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:55:09.628Z] Step 2/35 : FROM ${BASE} AS builder [2023-04-17T20:55:09.628Z] ---> 42efb97bf2c6 [2023-04-17T20:55:09.628Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:55:09.628Z] ---> Running in c34462b8a3f0 [2023-04-17T20:55:09.628Z] Removing intermediate container c34462b8a3f0 [2023-04-17T20:55:09.628Z] ---> 768d30c4dba1 [2023-04-17T20:55:09.628Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:55:09.628Z] ---> Running in 9fade1c066db [2023-04-17T20:55:09.887Z] Removing intermediate container 9fade1c066db [2023-04-17T20:55:09.887Z] ---> 0f78eb28c148 [2023-04-17T20:55:09.887Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-17T20:55:09.887Z] ---> Running in fa3fa8378ef3 [2023-04-17T20:55:09.887Z] Removing intermediate container fa3fa8378ef3 [2023-04-17T20:55:09.887Z] ---> d32c2cd2dd1a [2023-04-17T20:55:09.887Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-17T20:55:09.887Z] ---> Running in 91b30f9ce198 [2023-04-17T20:55:09.887Z] Removing intermediate container 91b30f9ce198 [2023-04-17T20:55:09.887Z] ---> 9320d72c81d5 [2023-04-17T20:55:09.887Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:55:10.146Z] ---> Running in a8b7f400f679 [2023-04-17T20:55:10.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:55:10.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:55:10.666Z] OK: 272 MiB in 67 packages [2023-04-17T20:55:10.924Z] Removing intermediate container a8b7f400f679 [2023-04-17T20:55:10.924Z] ---> bdebf74b1416 [2023-04-17T20:55:10.924Z] Step 8/35 : WORKDIR /device-usb-camera [2023-04-17T20:55:10.924Z] ---> Running in 351bfbfc693a [2023-04-17T20:55:10.924Z] Removing intermediate container 351bfbfc693a [2023-04-17T20:55:10.924Z] ---> 7f6ce61da614 [2023-04-17T20:55:10.924Z] Step 9/35 : COPY go.mod vendor* ./ [2023-04-17T20:55:11.183Z] ---> ec5bcdb56c7f [2023-04-17T20:55:11.183Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:55:11.183Z] ---> Running in 06b85f6a6ca8 [2023-04-17T20:55:12.117Z] Removing intermediate container 06b85f6a6ca8 [2023-04-17T20:55:12.117Z] ---> 908db9c7892e [2023-04-17T20:55:12.117Z] Step 11/35 : COPY . . [2023-04-17T20:55:12.117Z] ---> 787a3da53bbf [2023-04-17T20:55:12.117Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-17T20:55:12.117Z] ---> Running in 62c664324fb6 [2023-04-17T20:55:12.375Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:55:12.375Z] Dload Upload Total Spent Left Speed [2023-04-17T20:55:12.634Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 19839 0 --:--:-- --:--:-- --:--:-- 20037 [2023-04-17T20:55:12.893Z] Removing intermediate container 62c664324fb6 [2023-04-17T20:55:12.893Z] ---> da0b5dc1f135 [2023-04-17T20:55:12.893Z] Step 13/35 : RUN ${MAKE} [2023-04-17T20:55:12.893Z] ---> Running in 88cda8cdd5fb [2023-04-17T20:55:13.152Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-04-17T20:55:35.072Z] Removing intermediate container 88cda8cdd5fb [2023-04-17T20:55:35.072Z] ---> 4f9ffc4089eb [2023-04-17T20:55:35.072Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-04-17T20:55:35.072Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-04-17T20:55:35.072Z] 4acc49c71d14: Pulling fs layer [2023-04-17T20:55:35.072Z] 4acc49c71d14: Verifying Checksum [2023-04-17T20:55:35.072Z] 4acc49c71d14: Download complete [2023-04-17T20:55:35.072Z] 4acc49c71d14: Pull complete [2023-04-17T20:55:35.072Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-04-17T20:55:35.072Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-04-17T20:55:35.072Z] ---> 01a2bd3e5fff [2023-04-17T20:55:35.072Z] Step 15/35 : FROM alpine:3.17 [2023-04-17T20:55:35.072Z] 3.17: Pulling from library/alpine [2023-04-17T20:55:35.072Z] f56be85fc22e: Pulling fs layer [2023-04-17T20:55:35.072Z] f56be85fc22e: Download complete [2023-04-17T20:55:35.072Z] f56be85fc22e: Pull complete [2023-04-17T20:55:35.072Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:55:35.072Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:55:35.072Z] ---> 9ed4aefc74f6 [2023-04-17T20:55:35.072Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-17T20:55:35.072Z] ---> Running in e4164ed0e931 [2023-04-17T20:55:35.072Z] Removing intermediate container e4164ed0e931 [2023-04-17T20:55:35.072Z] ---> 648567893f72 [2023-04-17T20:55:35.072Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-04-17T20:55:35.072Z] ---> Running in 5ffd6022dadb [2023-04-17T20:55:35.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:55:35.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:55:35.072Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-04-17T20:55:35.072Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-04-17T20:55:35.072Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-04-17T20:55:35.072Z] (4/86) Installing libxau (1.0.10-r0) [2023-04-17T20:55:35.072Z] (5/86) Installing libmd (1.0.4-r0) [2023-04-17T20:55:35.072Z] (6/86) Installing libbsd (0.11.7-r0) [2023-04-17T20:55:35.072Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-04-17T20:55:35.072Z] (8/86) Installing libxcb (1.15-r0) [2023-04-17T20:55:35.072Z] (9/86) Installing libx11 (1.8.4-r0) [2023-04-17T20:55:35.072Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-04-17T20:55:35.072Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-04-17T20:55:35.072Z] (12/86) Installing libexpat (2.5.0-r0) [2023-04-17T20:55:35.072Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-04-17T20:55:35.072Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-04-17T20:55:35.072Z] (15/86) Installing libpng (1.6.38-r0) [2023-04-17T20:55:35.072Z] (16/86) Installing freetype (2.12.1-r0) [2023-04-17T20:55:35.072Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-04-17T20:55:35.072Z] (18/86) Installing fribidi (1.0.12-r0) [2023-04-17T20:55:35.072Z] (19/86) Installing libffi (3.4.4-r0) [2023-04-17T20:55:35.072Z] (20/86) Installing libintl (0.21.1-r1) [2023-04-17T20:55:35.072Z] (21/86) Installing libblkid (2.38.1-r1) [2023-04-17T20:55:35.072Z] (22/86) Installing libmount (2.38.1-r1) [2023-04-17T20:55:35.072Z] (23/86) Installing pcre2 (10.42-r0) [2023-04-17T20:55:35.072Z] (24/86) Installing glib (2.74.6-r0) [2023-04-17T20:55:35.072Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-04-17T20:55:35.072Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-04-17T20:55:35.072Z] (27/86) Installing libass (0.16.0-r1) [2023-04-17T20:55:35.072Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-04-17T20:55:35.072Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-04-17T20:55:35.072Z] (30/86) Installing libpciaccess (0.17-r0) [2023-04-17T20:55:35.072Z] (31/86) Installing libdrm (2.4.114-r0) [2023-04-17T20:55:35.072Z] (32/86) Installing gmp (6.2.1-r2) [2023-04-17T20:55:35.072Z] (33/86) Installing nettle (3.8.1-r0) [2023-04-17T20:55:35.072Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-04-17T20:55:35.072Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-04-17T20:55:35.072Z] (36/86) Installing libunistring (1.1-r0) [2023-04-17T20:55:35.072Z] (37/86) Installing gnutls (3.7.8-r3) [2023-04-17T20:55:35.072Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-04-17T20:55:35.072Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-04-17T20:55:35.072Z] (40/86) Installing lame (3.100-r2) [2023-04-17T20:55:35.072Z] (41/86) Installing opus (1.3.1-r1) [2023-04-17T20:55:35.072Z] (42/86) Installing libasyncns (0.8-r1) [2023-04-17T20:55:35.072Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-04-17T20:55:35.072Z] (44/86) Installing libltdl (2.4.7-r1) [2023-04-17T20:55:35.072Z] (45/86) Installing orc (0.4.33-r0) [2023-04-17T20:55:35.072Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-04-17T20:55:35.072Z] (47/86) Installing libogg (1.3.5-r2) [2023-04-17T20:55:35.072Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-04-17T20:55:35.072Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-04-17T20:55:35.072Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-04-17T20:55:35.072Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-04-17T20:55:35.072Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-04-17T20:55:35.072Z] (53/86) Installing soxr (0.1.3-r3) [2023-04-17T20:55:35.072Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-04-17T20:55:35.333Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-04-17T20:55:35.333Z] (56/86) Installing libpulse (16.1-r6) [2023-04-17T20:55:35.333Z] (57/86) Installing cjson (1.7.15-r3) [2023-04-17T20:55:35.333Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-04-17T20:55:35.333Z] (59/86) Installing librist (0.2.7-r0) [2023-04-17T20:55:35.333Z] (60/86) Installing libsrt (1.5.1-r0) [2023-04-17T20:55:35.333Z] (61/86) Installing libssh (0.10.4-r0) [2023-04-17T20:55:35.333Z] (62/86) Installing libtheora (1.1.1-r16) [2023-04-17T20:55:35.333Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-04-17T20:55:35.333Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-04-17T20:55:35.333Z] (65/86) Installing libxext (1.3.5-r0) [2023-04-17T20:55:35.333Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-04-17T20:55:35.333Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-04-17T20:55:35.333Z] (68/86) Installing libva (2.16.0-r0) [2023-04-17T20:55:35.333Z] (69/86) Installing libvdpau (1.5-r0) [2023-04-17T20:55:35.333Z] (70/86) Installing vidstab (1.1.0-r2) [2023-04-17T20:55:35.333Z] (71/86) Installing libvpx (1.12.0-r1) [2023-04-17T20:55:35.333Z] (72/86) Installing libwebp (1.2.4-r1) [2023-04-17T20:55:35.333Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-04-17T20:55:35.333Z] (74/86) Installing numactl (2.0.16-r1) [2023-04-17T20:55:35.333Z] (75/86) Installing x265-libs (3.5-r3) [2023-04-17T20:55:35.591Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-04-17T20:55:35.591Z] (77/86) Installing libsodium (1.0.18-r2) [2023-04-17T20:55:35.591Z] (78/86) Installing libzmq (4.3.4-r1) [2023-04-17T20:55:35.591Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-04-17T20:55:35.591Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-04-17T20:55:35.591Z] (81/86) Installing udev-init-scripts (35-r1) [2023-04-17T20:55:35.591Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-04-17T20:55:35.591Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-04-17T20:55:35.591Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-04-17T20:55:35.591Z] (85/86) Installing kmod-libs (30-r1) [2023-04-17T20:55:35.591Z] (86/86) Installing eudev (3.2.11-r4) [2023-04-17T20:55:35.591Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:55:35.591Z] Executing eudev-3.2.11-r4.trigger [2023-04-17T20:55:35.591Z] OK: 112 MiB in 101 packages [2023-04-17T20:55:36.967Z] Removing intermediate container 5ffd6022dadb [2023-04-17T20:55:36.967Z] ---> c81dbe2eba4a [2023-04-17T20:55:36.967Z] Step 18/35 : WORKDIR / [2023-04-17T20:55:36.967Z] ---> Running in d6b267a61703 [2023-04-17T20:55:37.225Z] Removing intermediate container d6b267a61703 [2023-04-17T20:55:37.225Z] ---> 908ddcd446dd [2023-04-17T20:55:37.225Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-04-17T20:55:37.484Z] ---> 4f7256aaddcf [2023-04-17T20:55:37.484Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-04-17T20:55:37.742Z] ---> efdbfda96a36 [2023-04-17T20:55:37.742Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-04-17T20:55:37.742Z] ---> 073ae51616b4 [2023-04-17T20:55:37.742Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-04-17T20:55:38.001Z] ---> e8ee622caae5 [2023-04-17T20:55:38.001Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-04-17T20:55:38.001Z] ---> 167ee379360d [2023-04-17T20:55:38.001Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-04-17T20:55:38.259Z] ---> 4bfd8d4fe8b9 [2023-04-17T20:55:38.259Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-04-17T20:55:38.826Z] ---> d1f6cc650fde [2023-04-17T20:55:38.826Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-04-17T20:55:38.826Z] ---> Running in ef1926c18b3d [2023-04-17T20:55:39.391Z] Removing intermediate container ef1926c18b3d [2023-04-17T20:55:39.391Z] ---> 0b4cbab98419 [2023-04-17T20:55:39.391Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-04-17T20:55:39.391Z] ---> Running in abece872c7fd [2023-04-17T20:55:39.957Z] Removing intermediate container abece872c7fd [2023-04-17T20:55:39.957Z] ---> 0508cc32c515 [2023-04-17T20:55:39.957Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-04-17T20:55:39.957Z] ---> Running in 25f76096bc5c [2023-04-17T20:55:40.523Z] Removing intermediate container 25f76096bc5c [2023-04-17T20:55:40.523Z] ---> 2fb0a482e210 [2023-04-17T20:55:40.523Z] Step 29/35 : EXPOSE 59983 [2023-04-17T20:55:40.523Z] ---> Running in 57d27b7ebacf [2023-04-17T20:55:40.523Z] Removing intermediate container 57d27b7ebacf [2023-04-17T20:55:40.523Z] ---> 7e2fcdd58896 [2023-04-17T20:55:40.523Z] Step 30/35 : EXPOSE 8554 [2023-04-17T20:55:40.523Z] ---> Running in a5f2775032e9 [2023-04-17T20:55:40.523Z] Removing intermediate container a5f2775032e9 [2023-04-17T20:55:40.523Z] ---> 18570dc34da7 [2023-04-17T20:55:40.523Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-04-17T20:55:40.523Z] ---> Running in 28593f9b9f4b [2023-04-17T20:55:40.781Z] Removing intermediate container 28593f9b9f4b [2023-04-17T20:55:40.781Z] ---> 6ba0ba844d63 [2023-04-17T20:55:40.781Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-04-17T20:55:40.781Z] ---> Running in 493385c498d8 [2023-04-17T20:55:40.781Z] Removing intermediate container 493385c498d8 [2023-04-17T20:55:40.781Z] ---> 780b47bd7c5a [2023-04-17T20:55:40.781Z] Step 33/35 : LABEL arch=amd64 [2023-04-17T20:55:40.781Z] ---> Running in daefb4078c0d [2023-04-17T20:55:40.781Z] Removing intermediate container daefb4078c0d [2023-04-17T20:55:40.781Z] ---> b482cfe7d1a4 [2023-04-17T20:55:40.781Z] Step 34/35 : LABEL git_sha=76e3f54acd07913db0165e42833f4c31f467d1ac [2023-04-17T20:55:40.781Z] ---> Running in beaa19d3bb0c [2023-04-17T20:55:41.039Z] Removing intermediate container beaa19d3bb0c [2023-04-17T20:55:41.039Z] ---> 2f2529326adf [2023-04-17T20:55:41.039Z] Step 35/35 : LABEL version=0.0.0 [2023-04-17T20:55:41.039Z] ---> Running in 59a5d06753dc [2023-04-17T20:55:41.039Z] Removing intermediate container 59a5d06753dc [2023-04-17T20:55:41.039Z] ---> 1d343cae76a1 [2023-04-17T20:55:41.039Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:55:41.039Z] Successfully built 1d343cae76a1 [2023-04-17T20:55:41.039Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:55:41.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:55:41.884Z] [2023-04-17T20:55:41.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:55:42.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:55:42.259Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T20:55:42.259Z] 5eb5b503b376: Pulling fs layer [2023-04-17T20:55:42.259Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T20:55:42.259Z] ec43610c2a17: Pulling fs layer [2023-04-17T20:55:42.259Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T20:55:42.259Z] 33b1e0a273af: Pulling fs layer [2023-04-17T20:55:42.259Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T20:55:42.259Z] 2f39f015ded8: Pulling fs layer [2023-04-17T20:55:42.259Z] 3a2ae6a8a46f: Waiting [2023-04-17T20:55:42.259Z] 5d3b04190fa2: Waiting [2023-04-17T20:55:42.259Z] 2f39f015ded8: Waiting [2023-04-17T20:55:42.259Z] 33b1e0a273af: Waiting [2023-04-17T20:55:42.259Z] 5c69ac0246d0: Download complete [2023-04-17T20:55:42.259Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T20:55:42.259Z] 3a2ae6a8a46f: Download complete [2023-04-17T20:55:42.259Z] 33b1e0a273af: Verifying Checksum [2023-04-17T20:55:42.259Z] 33b1e0a273af: Download complete [2023-04-17T20:55:42.259Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T20:55:42.259Z] ec43610c2a17: Download complete [2023-04-17T20:55:42.517Z] 5eb5b503b376: Verifying Checksum [2023-04-17T20:55:42.517Z] 5eb5b503b376: Download complete [2023-04-17T20:55:43.084Z] 2f39f015ded8: Download complete [2023-04-17T20:55:43.650Z] 5eb5b503b376: Pull complete [2023-04-17T20:55:43.650Z] 5c69ac0246d0: Pull complete [2023-04-17T20:55:44.216Z] ec43610c2a17: Pull complete [2023-04-17T20:55:44.216Z] 3a2ae6a8a46f: Pull complete [2023-04-17T20:55:44.472Z] 33b1e0a273af: Pull complete [2023-04-17T20:55:44.472Z] 5d3b04190fa2: Pull complete [2023-04-17T20:55:48.655Z] 2f39f015ded8: Pull complete [2023-04-17T20:55:48.655Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T20:55:48.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:55:48.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:55:48.869Z] prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container [2023-04-17T20:55:48.902Z] $ 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-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T20:55:49.953Z] $ docker top e1014e1e375a1237f26a891b634ab86915a48c7e9fe5d6accde70cac79e90d38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:55:50.403Z] ---> job-cost.sh [2023-04-17T20:55:50.403Z] lf-activate-venv: SKIPPING [2023-04-17T20:55:50.403Z] INFO: No Stack... [2023-04-17T20:55:50.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:55:51.232Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:55:51.541Z] + + cat /w/workspace/foundry_device-usb-camera_PR-217/archives/cost.csv [2023-04-17T20:55:51.541Z] cut -d, -f6 [Pipeline] lock [2023-04-17T20:55:51.584Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [2023-04-17T20:55:51.589Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] did not exist. Created. [2023-04-17T20:55:51.589Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:55:51.990Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T20:55:52.042Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:55:52.072Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:55:52.164Z] $ docker stop --time=1 e1014e1e375a1237f26a891b634ab86915a48c7e9fe5d6accde70cac79e90d38 [2023-04-17T20:55:53.319Z] $ docker rm -f --volumes e1014e1e375a1237f26a891b634ab86915a48c7e9fe5d6accde70cac79e90d38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T20:58:35.313Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8792 in /w/workspace/foundry_device-usb-camera_PR-217 [Pipeline] { [Pipeline] ws [2023-04-17T20:58:35.376Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-17T20:58:35.460Z] Selected Git installation does not exist. Using Default [2023-04-17T20:58:35.460Z] The recommended git tool is: NONE [2023-04-17T20:58:45.583Z] using credential edgex-jenkins-ssh [2023-04-17T20:58:45.612Z] Cloning the remote Git repository [2023-04-17T20:58:45.735Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-04-17T20:58:45.976Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-04-17T20:58:48.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-17T20:58:48.860Z] > git --version # timeout=10 [2023-04-17T20:58:48.973Z] > git --version # 'git version 2.25.1' [2023-04-17T20:58:48.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T20:58:49.458Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:58:50.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-17T20:58:50.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:58:52.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-17T20:58:52.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-17T20:58:52.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T20:58:52.213Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T20:58:52.840Z] Merging remotes/origin/main commit 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c into PR head commit 76e3f54acd07913db0165e42833f4c31f467d1ac [2023-04-17T20:58:53.348Z] Merge succeeded, producing 76e3f54acd07913db0165e42833f4c31f467d1ac [2023-04-17T20:58:53.349Z] Checking out Revision 76e3f54acd07913db0165e42833f4c31f467d1ac (PR-217) [2023-04-17T20:58:52.905Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T20:58:53.033Z] > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # timeout=10 [2023-04-17T20:58:53.182Z] > git remote # timeout=10 [2023-04-17T20:58:53.208Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T20:58:53.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T20:58:53.271Z] > git merge 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c # timeout=10 [2023-04-17T20:58:53.314Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T20:58:53.364Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T20:58:53.398Z] > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # timeout=10 [2023-04-17T20:58:57.259Z] Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" [2023-04-17T20:58:57.352Z] > git --version # timeout=10 [2023-04-17T20:58:57.376Z] > git --version # 'git version 2.25.1' [2023-04-17T20:58:57.417Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:58:58.793Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T20:58:58.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:58:58.793Z] Dload Upload Total Spent Left Speed [2023-04-17T20:58:58.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66067 0 --:--:-- --:--:-- --:--:-- 65726 [Pipeline] sh [2023-04-17T20:58:59.777Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T20:59:00.150Z] + sudo tee /etc/docker/daemon.new [2023-04-17T20:59:00.150Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T20:59:02.127Z] { [2023-04-17T20:59:02.127Z] "registry-mirrors": [ [2023-04-17T20:59:02.127Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T20:59:02.127Z] ], [2023-04-17T20:59:02.127Z] "bip": "10.250.0.254/24", [2023-04-17T20:59:02.127Z] "hosts": [ [2023-04-17T20:59:02.127Z] "tcp://0.0.0.0:5555", [2023-04-17T20:59:02.127Z] "unix:///var/run/docker.sock" [2023-04-17T20:59:02.127Z] ], [2023-04-17T20:59:02.127Z] "mtu": 1458, [2023-04-17T20:59:02.127Z] "selinux-enabled": true, [2023-04-17T20:59:02.127Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T20:59:02.127Z] } [Pipeline] sh [2023-04-17T20:59:02.493Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T20:59:02.852Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:59:21.207Z] provisioning config files... [2023-04-17T20:59:21.239Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14738256974284567878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:59:21.644Z] ---> docker-login.sh [2023-04-17T20:59:21.644Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:59:22.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:59:22.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:59:22.516Z] Configure a credential helper to remove this warning. See [2023-04-17T20:59:22.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:59:22.516Z] [2023-04-17T20:59:22.516Z] Login Succeeded [2023-04-17T20:59:22.516Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:59:22.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:59:22.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:59:22.791Z] Configure a credential helper to remove this warning. See [2023-04-17T20:59:22.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:59:22.791Z] [2023-04-17T20:59:22.791Z] Login Succeeded [2023-04-17T20:59:22.791Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:59:23.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:59:23.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:59:23.340Z] Configure a credential helper to remove this warning. See [2023-04-17T20:59:23.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:59:23.340Z] [2023-04-17T20:59:23.340Z] Login Succeeded [2023-04-17T20:59:23.340Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:59:23.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:59:23.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:59:23.615Z] Configure a credential helper to remove this warning. See [2023-04-17T20:59:23.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:59:23.615Z] [2023-04-17T20:59:23.615Z] Login Succeeded [2023-04-17T20:59:23.615Z] docker.io [2023-04-17T20:59:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:59:24.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:59:24.160Z] Configure a credential helper to remove this warning. See [2023-04-17T20:59:24.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:59:24.160Z] [2023-04-17T20:59:24.160Z] Login Succeeded [2023-04-17T20:59:24.160Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:59:24.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:59:24.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:59:24.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:59:24.709Z] ========================================================= [2023-04-17T20:59:24.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T20:59:24.709Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:59:25.225Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T20:59:25.497Z] Sending build context to Docker daemon 1.218MB [2023-04-17T20:59:25.497Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:59:25.497Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T20:59:28.103Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T20:59:28.103Z] af6eaf76a39c: Pulling fs layer [2023-04-17T20:59:28.103Z] 55522c791124: Pulling fs layer [2023-04-17T20:59:28.103Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T20:59:28.103Z] 169dfbe0d373: Pulling fs layer [2023-04-17T20:59:28.103Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T20:59:28.103Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T20:59:28.103Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T20:59:28.103Z] e1ff8fa3b103: Waiting [2023-04-17T20:59:28.103Z] 52ebb69f0ebf: Waiting [2023-04-17T20:59:28.103Z] 5abe8eddf0d5: Waiting [2023-04-17T20:59:28.103Z] 169dfbe0d373: Waiting [2023-04-17T20:59:28.103Z] 55522c791124: Verifying Checksum [2023-04-17T20:59:28.103Z] 55522c791124: Download complete [2023-04-17T20:59:28.103Z] 169dfbe0d373: Verifying Checksum [2023-04-17T20:59:28.103Z] 169dfbe0d373: Download complete [2023-04-17T20:59:28.103Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T20:59:28.103Z] e1ff8fa3b103: Download complete [2023-04-17T20:59:28.103Z] af6eaf76a39c: Verifying Checksum [2023-04-17T20:59:28.103Z] af6eaf76a39c: Download complete [2023-04-17T20:59:29.084Z] af6eaf76a39c: Pull complete [2023-04-17T20:59:29.356Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T20:59:29.356Z] 5abe8eddf0d5: Download complete [2023-04-17T20:59:29.630Z] 55522c791124: Pull complete [2023-04-17T20:59:30.605Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T20:59:30.605Z] ce5c4a1c91eb: Download complete [2023-04-17T20:59:30.605Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T20:59:30.605Z] 52ebb69f0ebf: Download complete [2023-04-17T20:59:42.969Z] ce5c4a1c91eb: Pull complete [2023-04-17T20:59:42.969Z] 169dfbe0d373: Pull complete [2023-04-17T20:59:42.969Z] e1ff8fa3b103: Pull complete [2023-04-17T20:59:48.357Z] 52ebb69f0ebf: Pull complete [2023-04-17T20:59:50.323Z] 5abe8eddf0d5: Pull complete [2023-04-17T20:59:50.323Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T20:59:50.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T20:59:50.323Z] ---> 6cb57ee374ae [2023-04-17T20:59:50.323Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:59:52.953Z] ---> Running in 4b59406579c2 [2023-04-17T20:59:52.953Z] Removing intermediate container 4b59406579c2 [2023-04-17T20:59:52.953Z] ---> b391873270ec [2023-04-17T20:59:52.953Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:59:52.953Z] ---> Running in 5727cf070da5 [2023-04-17T20:59:53.223Z] Removing intermediate container 5727cf070da5 [2023-04-17T20:59:53.223Z] ---> 0a19f1ab7e0f [2023-04-17T20:59:53.223Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-17T20:59:53.223Z] ---> Running in c22263364a0c [2023-04-17T20:59:53.496Z] Removing intermediate container c22263364a0c [2023-04-17T20:59:53.496Z] ---> 397b57fb3bb1 [2023-04-17T20:59:53.496Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-17T20:59:53.767Z] ---> Running in ab0abc13f1af [2023-04-17T20:59:54.040Z] Removing intermediate container ab0abc13f1af [2023-04-17T20:59:54.040Z] ---> 431a31be1dc6 [2023-04-17T20:59:54.040Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:59:54.040Z] ---> Running in 504ad3be0bd8 [2023-04-17T20:59:55.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:59:56.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:59:57.485Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-17T20:59:57.485Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-17T20:59:57.485Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-17T20:59:57.485Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-17T20:59:57.485Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-17T20:59:57.485Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-17T20:59:57.485Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-17T20:59:57.485Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-17T20:59:57.485Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-17T20:59:57.485Z] (10/14) Installing kmod-libs (30-r1) [2023-04-17T20:59:57.485Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-17T20:59:57.485Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-17T20:59:57.485Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-17T20:59:57.766Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-17T20:59:57.766Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:59:57.766Z] Executing eudev-3.2.11-r4.trigger [2023-04-17T20:59:57.766Z] OK: 271 MiB in 67 packages [2023-04-17T20:59:59.199Z] Removing intermediate container 504ad3be0bd8 [2023-04-17T20:59:59.199Z] ---> a83f0c758edb [2023-04-17T20:59:59.199Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-17T20:59:59.199Z] ---> Running in eb3d41b4d027 [2023-04-17T20:59:59.471Z] Removing intermediate container eb3d41b4d027 [2023-04-17T20:59:59.471Z] ---> bdd245d19b30 [2023-04-17T20:59:59.471Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-17T21:00:00.064Z] ---> 08689180e432 [2023-04-17T21:00:00.064Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T21:00:00.064Z] ---> Running in be6e10ee90e9 [2023-04-17T21:01:21.775Z] Removing intermediate container be6e10ee90e9 [2023-04-17T21:01:21.775Z] ---> 9bc01b07db58 [2023-04-17T21:01:21.775Z] Step 11/13 : COPY . . [2023-04-17T21:01:21.775Z] ---> 230904f94bc5 [2023-04-17T21:01:21.775Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-17T21:01:21.775Z] ---> Running in fda5842a39b7 [2023-04-17T21:01:21.775Z]  % Total % Received % Xferd  Average Speed Time Time Time Current [2023-04-17T21:01:21.775Z]  Dload Upload Total Spent Left Speed [2023-04-17T21:01:21.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 2348 0 --:--:-- --:--:-- --:--:-- 2354 [2023-04-17T21:01:21.775Z] Removing intermediate container fda5842a39b7 [2023-04-17T21:01:21.775Z] ---> 80083f222fe4 [2023-04-17T21:01:21.775Z] Step 13/13 : RUN ${MAKE} [2023-04-17T21:01:21.775Z] ---> Running in 2f517f5beef1 [2023-04-17T21:01:21.775Z] noop [2023-04-17T21:01:21.775Z] Removing intermediate container 2f517f5beef1 [2023-04-17T21:01:21.775Z] ---> aeabedda5f23 [2023-04-17T21:01:21.775Z] Successfully built aeabedda5f23 [2023-04-17T21:01:21.775Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:01:22.264Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T21:01:22.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:01:22.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-8792 does not seem to be running inside a container [2023-04-17T21:01:22.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T21:01:23.943Z] $ docker top f59624c7267fc6074a96e26ceb8ce4bc11bc66c18653da588aa016e407c02505 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:01:24.888Z] + go version [2023-04-17T21:01:24.888Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T21:01:24.929Z] $ docker stop --time=1 f59624c7267fc6074a96e26ceb8ce4bc11bc66c18653da588aa016e407c02505 [2023-04-17T21:01:26.581Z] $ docker rm -f --volumes f59624c7267fc6074a96e26ceb8ce4bc11bc66c18653da588aa016e407c02505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:01:27.461Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T21:01:27.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:01:27.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-8792 does not seem to be running inside a container [2023-04-17T21:01:27.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T21:01:29.116Z] $ docker top f016e191d5fa5ab51091d29bc4276285189178f931d5bef9f6a825545fed8fd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:01:30.007Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T21:01:30.726Z] + make test [2023-04-17T21:01:30.726Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T21:02:09.679Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-17T21:04:31.399Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-04-17T21:04:31.399Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 2.0% of statements [2023-04-17T21:04:31.399Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T21:04:31.399Z] go vet ./... [2023-04-17T21:04:58.125Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T21:04:58.125Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T21:04:58.125Z] ./bin/test-attribution-txt.sh [2023-04-17T21:04:58.125Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T21:04:58.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T21:04:58.201Z] $ docker stop --time=1 f016e191d5fa5ab51091d29bc4276285189178f931d5bef9f6a825545fed8fd5 [2023-04-17T21:05:00.052Z] $ docker rm -f --volumes f016e191d5fa5ab51091d29bc4276285189178f931d5bef9f6a825545fed8fd5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T21:05:01.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T21:05:01.469Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T21:05:05.126Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T21:05:05.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T21:05:06.085Z] + ls -al . [2023-04-17T21:05:06.085Z] total 184 [2023-04-17T21:05:06.085Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 21:01 . [2023-04-17T21:05:06.085Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:58 .. [2023-04-17T21:05:06.085Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:58 .git [2023-04-17T21:05:06.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:58 .github [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 414 Apr 17 20:58 .gitignore [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 20:58 .golangci.yml [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 77 Apr 17 20:58 .hadolint.yml [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 9535 Apr 17 20:58 Attribution.txt [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 6219 Apr 17 20:58 CHANGELOG.md [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 2328 Apr 17 20:58 Dockerfile [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 20:58 GOVERNANCE.md [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 659 Apr 17 20:58 Jenkinsfile [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 20:58 LICENSE [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 2364 Apr 17 20:58 Makefile [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 20:58 OWNERS.md [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 5681 Apr 17 20:58 README.md [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 20:54 VERSION [2023-04-17T21:05:06.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:58 bin [2023-04-17T21:05:06.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:58 cmd [2023-04-17T21:05:06.085Z] -rw-r--r-- 1 jenkins jenkins 28352 Apr 17 21:04 coverage.out [2023-04-17T21:05:06.085Z] -rwxrwxr-x 1 jenkins jenkins 140 Apr 17 20:58 docker-entrypoint.sh [2023-04-17T21:05:06.085Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:58 docs [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 3443 Apr 17 20:58 go.mod [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 31713 Apr 17 20:58 go.sum [2023-04-17T21:05:06.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:58 internal [2023-04-17T21:05:06.085Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:58 snap [2023-04-17T21:05:06.085Z] -rw-rw-r-- 1 jenkins jenkins 231 Apr 17 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:05:06.530Z] + 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=76e3f54acd07913db0165e42833f4c31f467d1ac --label arch=arm64 --label version=0.0.0 . [2023-04-17T21:05:06.811Z] Sending build context to Docker daemon 1.247MB [2023-04-17T21:05:06.811Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T21:05:06.811Z] Step 2/35 : FROM ${BASE} AS builder [2023-04-17T21:05:06.811Z] ---> aeabedda5f23 [2023-04-17T21:05:06.812Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-04-17T21:05:07.092Z] ---> Running in 27753a45aee1 [2023-04-17T21:05:07.359Z] Removing intermediate container 27753a45aee1 [2023-04-17T21:05:07.359Z] ---> bde261224248 [2023-04-17T21:05:07.359Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T21:05:07.359Z] ---> Running in 13d947c3b128 [2023-04-17T21:05:07.627Z] Removing intermediate container 13d947c3b128 [2023-04-17T21:05:07.627Z] ---> fc13e5eca077 [2023-04-17T21:05:07.627Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-17T21:05:07.897Z] ---> Running in 15bf6778773b [2023-04-17T21:05:08.165Z] Removing intermediate container 15bf6778773b [2023-04-17T21:05:08.165Z] ---> bb08817b0d7f [2023-04-17T21:05:08.165Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-17T21:05:08.165Z] ---> Running in b26676477e90 [2023-04-17T21:05:08.432Z] Removing intermediate container b26676477e90 [2023-04-17T21:05:08.432Z] ---> ef98ca626936 [2023-04-17T21:05:08.432Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T21:05:08.432Z] ---> Running in 54f4b277a46e [2023-04-17T21:05:09.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T21:05:10.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T21:05:11.866Z] OK: 271 MiB in 67 packages [2023-04-17T21:05:12.842Z] Removing intermediate container 54f4b277a46e [2023-04-17T21:05:12.842Z] ---> 13a170ec45e9 [2023-04-17T21:05:12.842Z] Step 8/35 : WORKDIR /device-usb-camera [2023-04-17T21:05:12.842Z] ---> Running in 8f487c679d0a [2023-04-17T21:05:13.112Z] Removing intermediate container 8f487c679d0a [2023-04-17T21:05:13.112Z] ---> a49e957aaa05 [2023-04-17T21:05:13.112Z] Step 9/35 : COPY go.mod vendor* ./ [2023-04-17T21:05:13.702Z] ---> 6c799714394f [2023-04-17T21:05:13.702Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T21:05:13.702Z] ---> Running in 1dafe488e762 [2023-04-17T21:05:17.061Z] Removing intermediate container 1dafe488e762 [2023-04-17T21:05:17.061Z] ---> 8767e82722bf [2023-04-17T21:05:17.061Z] Step 11/35 : COPY . . [2023-04-17T21:05:17.329Z] ---> fa5c55f1419b [2023-04-17T21:05:17.329Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-17T21:05:17.597Z] ---> Running in 539148974f70 [2023-04-17T21:05:18.560Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T21:05:18.560Z] Dload Upload Total Spent Left Speed [2023-04-17T21:05:19.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1062 100 1062 0 0 861 0 0:00:01 0:00:01 --:--:-- 861 [2023-04-17T21:05:20.757Z] Removing intermediate container 539148974f70 [2023-04-17T21:05:20.757Z] ---> c4bd39d3849f [2023-04-17T21:05:20.757Z] Step 13/35 : RUN ${MAKE} [2023-04-17T21:05:20.757Z] ---> Running in b6316c3d527f [2023-04-17T21:05:21.719Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-04-17T21:08:28.513Z] Removing intermediate container b6316c3d527f [2023-04-17T21:08:28.513Z] ---> d8b12610a0b9 [2023-04-17T21:08:28.513Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-04-17T21:08:28.513Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-04-17T21:08:28.513Z] 8766b47fe142: Pulling fs layer [2023-04-17T21:08:28.513Z] 8766b47fe142: Verifying Checksum [2023-04-17T21:08:28.513Z] 8766b47fe142: Download complete [2023-04-17T21:08:28.513Z] 8766b47fe142: Pull complete [2023-04-17T21:08:28.513Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-04-17T21:08:28.513Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-04-17T21:08:28.513Z] ---> 69d40e2cb93c [2023-04-17T21:08:28.513Z] Step 15/35 : FROM alpine:3.17 [2023-04-17T21:08:28.513Z] 3.17: Pulling from library/alpine [2023-04-17T21:08:28.513Z] c41833b44d91: Pulling fs layer [2023-04-17T21:08:28.513Z] c41833b44d91: Verifying Checksum [2023-04-17T21:08:28.513Z] c41833b44d91: Download complete [2023-04-17T21:08:28.513Z] c41833b44d91: Pull complete [2023-04-17T21:08:28.513Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T21:08:28.513Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T21:08:28.513Z] ---> 51e60588ff2c [2023-04-17T21:08:28.513Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-17T21:08:28.513Z] ---> Running in 6bda51dd5ceb [2023-04-17T21:08:28.513Z] Removing intermediate container 6bda51dd5ceb [2023-04-17T21:08:28.513Z] ---> e2dcd275b599 [2023-04-17T21:08:28.513Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-04-17T21:08:28.513Z] ---> Running in 6e29e3668c46 [2023-04-17T21:08:28.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T21:08:29.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T21:08:30.906Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-04-17T21:08:30.906Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-04-17T21:08:30.906Z] (3/83) Installing libxau (1.0.10-r0) [2023-04-17T21:08:30.906Z] (4/83) Installing libmd (1.0.4-r0) [2023-04-17T21:08:30.906Z] (5/83) Installing libbsd (0.11.7-r0) [2023-04-17T21:08:30.906Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-04-17T21:08:30.906Z] (7/83) Installing libxcb (1.15-r0) [2023-04-17T21:08:30.906Z] (8/83) Installing libx11 (1.8.4-r0) [2023-04-17T21:08:30.906Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-04-17T21:08:31.177Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-04-17T21:08:31.177Z] (11/83) Installing libexpat (2.5.0-r0) [2023-04-17T21:08:31.177Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-04-17T21:08:31.177Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-04-17T21:08:31.177Z] (14/83) Installing libpng (1.6.38-r0) [2023-04-17T21:08:31.177Z] (15/83) Installing freetype (2.12.1-r0) [2023-04-17T21:08:31.177Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-04-17T21:08:31.446Z] (17/83) Installing fribidi (1.0.12-r0) [2023-04-17T21:08:31.446Z] (18/83) Installing libffi (3.4.4-r0) [2023-04-17T21:08:31.446Z] (19/83) Installing libintl (0.21.1-r1) [2023-04-17T21:08:31.447Z] (20/83) Installing libblkid (2.38.1-r1) [2023-04-17T21:08:31.447Z] (21/83) Installing libmount (2.38.1-r1) [2023-04-17T21:08:31.447Z] (22/83) Installing pcre2 (10.42-r0) [2023-04-17T21:08:31.447Z] (23/83) Installing glib (2.74.6-r0) [2023-04-17T21:08:31.447Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-04-17T21:08:31.447Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-04-17T21:08:31.447Z] (26/83) Installing libass (0.16.0-r1) [2023-04-17T21:08:31.720Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-04-17T21:08:31.720Z] (28/83) Installing libdrm (2.4.114-r0) [2023-04-17T21:08:31.720Z] (29/83) Installing gmp (6.2.1-r2) [2023-04-17T21:08:31.720Z] (30/83) Installing nettle (3.8.1-r0) [2023-04-17T21:08:31.720Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-04-17T21:08:31.720Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-04-17T21:08:31.720Z] (33/83) Installing libunistring (1.1-r0) [2023-04-17T21:08:31.720Z] (34/83) Installing gnutls (3.7.8-r3) [2023-04-17T21:08:31.720Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-04-17T21:08:31.990Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-04-17T21:08:31.990Z] (37/83) Installing lame (3.100-r2) [2023-04-17T21:08:31.990Z] (38/83) Installing opus (1.3.1-r1) [2023-04-17T21:08:31.990Z] (39/83) Installing libasyncns (0.8-r1) [2023-04-17T21:08:31.990Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-04-17T21:08:31.990Z] (41/83) Installing libltdl (2.4.7-r1) [2023-04-17T21:08:31.990Z] (42/83) Installing orc (0.4.33-r0) [2023-04-17T21:08:31.990Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-04-17T21:08:31.990Z] (44/83) Installing libogg (1.3.5-r2) [2023-04-17T21:08:31.990Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-04-17T21:08:31.990Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-04-17T21:08:31.990Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-04-17T21:08:32.260Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-04-17T21:08:32.260Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-04-17T21:08:32.260Z] (50/83) Installing soxr (0.1.3-r3) [2023-04-17T21:08:32.260Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-04-17T21:08:32.260Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-04-17T21:08:32.260Z] (53/83) Installing libpulse (16.1-r6) [2023-04-17T21:08:32.260Z] (54/83) Installing cjson (1.7.15-r3) [2023-04-17T21:08:32.260Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-04-17T21:08:32.260Z] (56/83) Installing librist (0.2.7-r0) [2023-04-17T21:08:32.260Z] (57/83) Installing libsrt (1.5.1-r0) [2023-04-17T21:08:32.260Z] (58/83) Installing libssh (0.10.4-r0) [2023-04-17T21:08:32.260Z] (59/83) Installing libtheora (1.1.1-r16) [2023-04-17T21:08:32.530Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-04-17T21:08:32.530Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-04-17T21:08:32.530Z] (62/83) Installing libxext (1.3.5-r0) [2023-04-17T21:08:32.530Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-04-17T21:08:32.530Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-04-17T21:08:32.530Z] (65/83) Installing libva (2.16.0-r0) [2023-04-17T21:08:32.530Z] (66/83) Installing libvdpau (1.5-r0) [2023-04-17T21:08:32.530Z] (67/83) Installing vidstab (1.1.0-r2) [2023-04-17T21:08:32.530Z] (68/83) Installing libvpx (1.12.0-r1) [2023-04-17T21:08:32.530Z] (69/83) Installing libwebp (1.2.4-r1) [2023-04-17T21:08:32.530Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-04-17T21:08:32.800Z] (71/83) Installing numactl (2.0.16-r1) [2023-04-17T21:08:32.800Z] (72/83) Installing x265-libs (3.5-r3) [2023-04-17T21:08:33.072Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-04-17T21:08:33.072Z] (74/83) Installing libsodium (1.0.18-r2) [2023-04-17T21:08:33.072Z] (75/83) Installing libzmq (4.3.4-r1) [2023-04-17T21:08:33.072Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-04-17T21:08:33.666Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-04-17T21:08:33.666Z] (78/83) Installing udev-init-scripts (35-r1) [2023-04-17T21:08:33.666Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-04-17T21:08:33.666Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-04-17T21:08:33.666Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-04-17T21:08:33.666Z] (82/83) Installing kmod-libs (30-r1) [2023-04-17T21:08:33.666Z] (83/83) Installing eudev (3.2.11-r4) [2023-04-17T21:08:33.666Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T21:08:33.666Z] Executing eudev-3.2.11-r4.trigger [2023-04-17T21:08:33.666Z] OK: 86 MiB in 98 packages [2023-04-17T21:08:37.020Z] Removing intermediate container 6e29e3668c46 [2023-04-17T21:08:37.020Z] ---> a3670205712a [2023-04-17T21:08:37.020Z] Step 18/35 : WORKDIR / [2023-04-17T21:08:37.020Z] ---> Running in 2695a8e0de78 [2023-04-17T21:08:37.608Z] Removing intermediate container 2695a8e0de78 [2023-04-17T21:08:37.608Z] ---> f65eb64e52cb [2023-04-17T21:08:37.608Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-04-17T21:08:40.202Z] ---> ccacfb7d9917 [2023-04-17T21:08:40.202Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-04-17T21:08:40.472Z] ---> c9c9aaa6558c [2023-04-17T21:08:40.472Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-04-17T21:08:41.061Z] ---> 64f30b7b5fec [2023-04-17T21:08:41.061Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-04-17T21:08:41.652Z] ---> 6455384c5b2c [2023-04-17T21:08:41.652Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-04-17T21:08:42.238Z] ---> 3f0d66be4092 [2023-04-17T21:08:42.238Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-04-17T21:08:42.825Z] ---> ae795c4e8bc6 [2023-04-17T21:08:42.825Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-04-17T21:08:44.241Z] ---> 95e7a04c3b09 [2023-04-17T21:08:44.241Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-04-17T21:08:44.241Z] ---> Running in bd3c1528fcda [2023-04-17T21:08:46.194Z] Removing intermediate container bd3c1528fcda [2023-04-17T21:08:46.194Z] ---> 2337093eed41 [2023-04-17T21:08:46.194Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-04-17T21:08:46.194Z] ---> Running in 4d99c6e08c6c [2023-04-17T21:08:47.612Z] Removing intermediate container 4d99c6e08c6c [2023-04-17T21:08:47.612Z] ---> 5f316fb6b452 [2023-04-17T21:08:47.612Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-04-17T21:08:47.882Z] ---> Running in 0230ac9f72c3 [2023-04-17T21:08:49.840Z] Removing intermediate container 0230ac9f72c3 [2023-04-17T21:08:49.840Z] ---> 5662db635ce1 [2023-04-17T21:08:49.840Z] Step 29/35 : EXPOSE 59983 [2023-04-17T21:08:49.840Z] ---> Running in da180bce521f [2023-04-17T21:08:50.112Z] Removing intermediate container da180bce521f [2023-04-17T21:08:50.112Z] ---> 7f2202a75fdf [2023-04-17T21:08:50.112Z] Step 30/35 : EXPOSE 8554 [2023-04-17T21:08:50.112Z] ---> Running in c128235e1c75 [2023-04-17T21:08:50.386Z] Removing intermediate container c128235e1c75 [2023-04-17T21:08:50.386Z] ---> 06ccc8f77450 [2023-04-17T21:08:50.386Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-04-17T21:08:50.386Z] ---> Running in 2a8f9f978265 [2023-04-17T21:08:50.977Z] Removing intermediate container 2a8f9f978265 [2023-04-17T21:08:50.977Z] ---> 49dfed842931 [2023-04-17T21:08:50.977Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-04-17T21:08:50.977Z] ---> Running in 640fe05045dd [2023-04-17T21:08:51.249Z] Removing intermediate container 640fe05045dd [2023-04-17T21:08:51.249Z] ---> be304f371596 [2023-04-17T21:08:51.249Z] Step 33/35 : LABEL arch=arm64 [2023-04-17T21:08:51.520Z] ---> Running in 630a419b605e [2023-04-17T21:08:51.790Z] Removing intermediate container 630a419b605e [2023-04-17T21:08:51.790Z] ---> 6eaa90c5e665 [2023-04-17T21:08:51.790Z] Step 34/35 : LABEL git_sha=76e3f54acd07913db0165e42833f4c31f467d1ac [2023-04-17T21:08:51.790Z] ---> Running in 8718e77f90a5 [2023-04-17T21:08:52.382Z] Removing intermediate container 8718e77f90a5 [2023-04-17T21:08:52.382Z] ---> 81c7454f1fa7 [2023-04-17T21:08:52.382Z] Step 35/35 : LABEL version=0.0.0 [2023-04-17T21:08:52.382Z] ---> Running in a3ffa1021f84 [2023-04-17T21:08:52.655Z] Removing intermediate container a3ffa1021f84 [2023-04-17T21:08:52.655Z] ---> c329e5bcbf21 [2023-04-17T21:08:52.655Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T21:08:52.655Z] Successfully built c329e5bcbf21 [2023-04-17T21:08:52.655Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:08:53.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T21:08:53.486Z] [2023-04-17T21:08:53.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:08:53.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T21:08:54.165Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T21:08:54.165Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T21:08:54.165Z] 04944245beec: Pulling fs layer [2023-04-17T21:08:54.165Z] 699f458cf7ca: Pulling fs layer [2023-04-17T21:08:54.165Z] 765212b225bb: Pulling fs layer [2023-04-17T21:08:54.165Z] f23df028b6ca: Pulling fs layer [2023-04-17T21:08:54.165Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T21:08:54.165Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T21:08:54.165Z] 765212b225bb: Waiting [2023-04-17T21:08:54.165Z] f23df028b6ca: Waiting [2023-04-17T21:08:54.165Z] d65c8cfc05b1: Waiting [2023-04-17T21:08:54.165Z] 2437ff75d9bd: Waiting [2023-04-17T21:08:54.165Z] 04944245beec: Verifying Checksum [2023-04-17T21:08:54.165Z] 04944245beec: Download complete [2023-04-17T21:08:54.165Z] 765212b225bb: Verifying Checksum [2023-04-17T21:08:54.165Z] 765212b225bb: Download complete [2023-04-17T21:08:54.165Z] f23df028b6ca: Verifying Checksum [2023-04-17T21:08:54.165Z] f23df028b6ca: Download complete [2023-04-17T21:08:54.436Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T21:08:54.436Z] d65c8cfc05b1: Download complete [2023-04-17T21:08:54.706Z] 699f458cf7ca: Verifying Checksum [2023-04-17T21:08:54.706Z] 699f458cf7ca: Download complete [2023-04-17T21:08:54.973Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T21:08:54.973Z] 8998bd30e6a1: Download complete [2023-04-17T21:08:57.571Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T21:08:57.571Z] 2437ff75d9bd: Download complete [2023-04-17T21:08:59.528Z] 8998bd30e6a1: Pull complete [2023-04-17T21:08:59.801Z] 04944245beec: Pull complete [2023-04-17T21:09:01.218Z] 699f458cf7ca: Pull complete [2023-04-17T21:09:01.218Z] 765212b225bb: Pull complete [2023-04-17T21:09:02.188Z] f23df028b6ca: Pull complete [2023-04-17T21:09:02.188Z] d65c8cfc05b1: Pull complete [2023-04-17T21:09:17.205Z] 2437ff75d9bd: Pull complete [2023-04-17T21:09:17.205Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T21:09:17.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T21:09:17.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:09:17.563Z] prd-ubuntu20.04-docker-arm64-4c-16g-8792 does not seem to be running inside a container [2023-04-17T21:09:17.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T21:09:21.413Z] $ docker top 96c3ea85d76b4e64a02eaae64a1e57fd85ee07a436a9352bff7ee3a29e632e15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:22.472Z] ---> job-cost.sh [2023-04-17T21:09:22.472Z] lf-activate-venv: SKIPPING [2023-04-17T21:09:22.472Z] INFO: No Stack... [2023-04-17T21:09:23.449Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T21:09:24.043Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T21:09:24.735Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-04-17T21:09:24.735Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T21:09:24.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [2023-04-17T21:09:24.851Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] did not exist. Created. [2023-04-17T21:09:24.851Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T21:09:25.595Z] /w/workspace/device-usb-camera/1@tmp/durable-7e49b535/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T21:09:26.303Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T21:09:26.340Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T21:09:26.408Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T21:09:26.423Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T21:09:26.514Z] $ docker stop --time=1 96c3ea85d76b4e64a02eaae64a1e57fd85ee07a436a9352bff7ee3a29e632e15 [2023-04-17T21:09:28.140Z] $ docker rm -f --volumes 96c3ea85d76b4e64a02eaae64a1e57fd85ee07a436a9352bff7ee3a29e632e15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-17T21:09:29.154Z] provisioning config files... [2023-04-17T21:09:29.162Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config4918100743375971061tmp [Pipeline] { [Pipeline] sh [2023-04-17T21:09:29.499Z] + set +x [2023-04-17T21:09:29.499Z] + curl -s https://codecov.io/bash [2023-04-17T21:09:29.499Z] + bash -s -- [2023-04-17T21:09:29.499Z] [2023-04-17T21:09:29.499Z] _____ _ [2023-04-17T21:09:29.499Z] / ____| | | [2023-04-17T21:09:29.499Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T21:09:29.499Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T21:09:29.499Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T21:09:29.499Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T21:09:29.499Z] Bash-1.0.6 [2023-04-17T21:09:29.499Z] [2023-04-17T21:09:29.499Z] [2023-04-17T21:09:29.499Z] ==> git version 2.25.1 found [2023-04-17T21:09:29.499Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-17T21:09:29.499Z] Release-Date: 2020-01-08 [2023-04-17T21:09:29.499Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-17T21:09:29.499Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T21:09:29.499Z] ==> Jenkins CI detected. [2023-04-17T21:09:29.499Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-217 [2023-04-17T21:09:29.499Z] project root: . [2023-04-17T21:09:29.499Z] --> token set from env [2023-04-17T21:09:29.499Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T21:09:29.499Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T21:09:29.499Z] ==> Python coveragepy not found [2023-04-17T21:09:29.499Z] ==> Searching for coverage reports in: [2023-04-17T21:09:29.499Z] + . [2023-04-17T21:09:29.499Z] -> Found 1 reports [2023-04-17T21:09:29.499Z] ==> Detecting git/mercurial file structure [2023-04-17T21:09:29.499Z] ==> Reading reports [2023-04-17T21:09:29.499Z] + ./coverage.out bytes=28352 [2023-04-17T21:09:29.758Z] ==> Appending adjustments [2023-04-17T21:09:29.758Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T21:09:29.758Z] + Found adjustments [2023-04-17T21:09:29.758Z] ==> Gzipping contents [2023-04-17T21:09:29.758Z] 4.0K /tmp/codecov.wFGVRE.gz [2023-04-17T21:09:29.758Z] ==> Uploading reports [2023-04-17T21:09:29.758Z] url: https://codecov.io [2023-04-17T21:09:29.758Z] query: branch=PR-217&commit=76e3f54acd07913db0165e42833f4c31f467d1ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-04-17T21:09:29.758Z] -> Pinging Codecov [2023-04-17T21:09:29.758Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-217&commit=76e3f54acd07913db0165e42833f4c31f467d1ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-04-17T21:09:29.758Z] -> Uploading to [2023-04-17T21:09:29.758Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/73D8F5FF140700D3E01443B452E23636/76e3f54acd07913db0165e42833f4c31f467d1ac/9bed9621-30a5-4a08-9e8d-1fe124be08bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T210929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdbe427b166524001287a70308a70d4f8242bb2686f93be92354ef88e3a49475 [2023-04-17T21:09:29.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T21:09:29.758Z] Dload Upload Total Spent Left Speed [2023-04-17T21:09:30.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3893 0 0 100 3893 0 18191 --:--:-- --:--:-- --:--:-- 18191 [2023-04-17T21:09:30.017Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] } [2023-04-17T21:09:30.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-17T21:09:31.757Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-217/archives ] [2023-04-17T21:09:31.757Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-217/archives [2023-04-17T21:09:31.757Z] total 16 [2023-04-17T21:09:31.757Z] drwxr-xr-x 3 root root 4096 Apr 17 20:55 . [2023-04-17T21:09:31.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 20:55 .. [2023-04-17T21:09:31.757Z] drwxr-xr-x 2 root root 4096 Apr 17 20:55 cost [2023-04-17T21:09:31.757Z] -rw-r--r-- 1 root root 89 Apr 17 20:55 cost.csv [2023-04-17T21:09:31.757Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-217/archives [2023-04-17T21:09:31.757Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-217/archives [2023-04-17T21:09:31.757Z] total 16 [2023-04-17T21:09:31.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:55 . [2023-04-17T21:09:31.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 20:55 .. [2023-04-17T21:09:31.757Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:55 cost [2023-04-17T21:09:31.757Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 17 20:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:32.186Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:33.077Z] ---> package-listing.sh [2023-04-17T21:09:33.078Z] ++ facter osfamily [2023-04-17T21:09:33.078Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T21:09:33.337Z] + OS_FAMILY=debian [2023-04-17T21:09:33.337Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-217 [2023-04-17T21:09:33.337Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T21:09:33.337Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T21:09:33.337Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T21:09:33.337Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T21:09:33.337Z] + '[' /w/workspace/foundry_device-usb-camera_PR-217 ']' [2023-04-17T21:09:33.337Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T21:09:33.337Z] + case "${OS_FAMILY}" in [2023-04-17T21:09:33.337Z] + dpkg -l [2023-04-17T21:09:33.337Z] + grep '^ii' [2023-04-17T21:09:33.337Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T21:09:33.337Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T21:09:33.337Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T21:09:33.337Z] + '[' /w/workspace/foundry_device-usb-camera_PR-217 ']' [2023-04-17T21:09:33.337Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-217/archives/ [2023-04-17T21:09:33.337Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-217/archives/ [Pipeline] echo [2023-04-17T21:09:33.369Z] 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T21:09:33.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:09:34.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T21:09:34.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:09:34.441Z] prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container [2023-04-17T21:09:34.481Z] $ 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-217/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-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T21:09:34.675Z] $ docker top bcb8f3b95a7956eb3c93cc1790b63e9d4646700828762015617afaec8e0031ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:09:35.113Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T21:09:35.417Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T21:09:35.722Z] + ls /var/log/sa-host [2023-04-17T21:09:35.722Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T21:09:35.932Z] provisioning config files... [2023-04-17T21:09:35.944Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config14888897963081158194tmp [Pipeline] { [Pipeline] echo [2023-04-17T21:09:35.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:36.300Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T21:09:36.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:36.730Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T21:09:36.760Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:37.069Z] ---> sudo-logs.sh [2023-04-17T21:09:37.069Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T21:09:37.155Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:37.465Z] ---> job-cost.sh [2023-04-17T21:09:37.465Z] lf-activate-venv: SKIPPING [2023-04-17T21:09:37.465Z] DEBUG: total: 0.2199999988079071 [2023-04-17T21:09:37.465Z] INFO: Retrieving Stack Cost... [2023-04-17T21:09:37.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T21:09:38.289Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T21:09:38.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:09:38.635Z] ---> logs-deploy.sh [2023-04-17T21:09:38.635Z] lf-activate-venv: SKIPPING [2023-04-17T21:09:38.635Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-217/1 [2023-04-17T21:09:38.635Z] INFO: archiving workspace using pattern(s): [2023-04-17T21:09:39.571Z] Archives upload complete. [2023-04-17T21:09:39.571Z] INFO: archiving logs to Nexus