Pull request #146 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 182b8f785dca06f9092802e19e138f7c14059464+c4833ecb71a5b036c07645cdd3981a69f5c223ec (8001b8fe5fcde84b38b33aca91985187a162851c) 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-ssh13543984960455013326.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh572772474768722101.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5536067631407168467.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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5240251956710815449.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh941074048140113320.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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12144863624945446240.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5843 in /w/workspace/foundry_device-usb-camera_PR-146 [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-146 # 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 c4833ecb71a5b036c07645cdd3981a69f5c223ec into PR head commit 182b8f785dca06f9092802e19e138f7c14059464 > 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 182b8f785dca06f9092802e19e138f7c14059464 Checking out Revision 182b8f785dca06f9092802e19e138f7c14059464 (PR-146) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T18:02:57.269Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T18:02:57.444Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T18:02:57.535Z] ========================================================= [2023-02-14T18:02:57.535Z] EdgeX Global Pipelines Version Info [2023-02-14T18:02:57.535Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 182b8f785dca06f9092802e19e138f7c14059464 # 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 c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 182b8f785dca06f9092802e19e138f7c14059464 # timeout=10 [2023-02-14T18:02:58.269Z] ------------------- [2023-02-14T18:02:58.269Z] stable info: [2023-02-14T18:02:58.269Z] ------------------- [2023-02-14T18:02:58.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T18:02:58.269Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T18:02:58.269Z] Message: update stable to v1.0.244 [2023-02-14T18:02:58.841Z] ------------------- [2023-02-14T18:02:58.841Z] experimental info: [2023-02-14T18:02:58.841Z] ------------------- [2023-02-14T18:02:58.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T18:02:58.841Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T18:02:58.841Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T18:02:59.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-14T18:02:59.151Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-14T18:02:59.192Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T18:02:59.229Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T18:02:59.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T18:02:59.314Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T18:02:59.352Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T18:02:59.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T18:02:59.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T18:02:59.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T18:02:59.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T18:02:59.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-14T18:02:59.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T18:02:59.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T18:02:59.677Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T18:02:59.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T18:02:59.759Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T18:02:59.796Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T18:02:59.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T18:02:59.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T18:02:59.908Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-14T18:02:59.949Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-14T18:02:59.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T18:03:00.027Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T18:03:00.067Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T18:03:00.098Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T18:03:00.133Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T18:03:00.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo [2023-02-14T18:03:00.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo [2023-02-14T18:03:00.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo [2023-02-14T18:03:00.289Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 182b8f785dca06f9092802e19e138f7c14059464 [Pipeline] echo [2023-02-14T18:03:00.329Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 182b8f7 [Pipeline] echo [2023-02-14T18:03:00.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:03:00.478Z] provisioning config files... [2023-02-14T18:03:00.494Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-146@tmp/config7057992142427479849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:03:00.833Z] ---> docker-login.sh [2023-02-14T18:03:00.834Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:03:01.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:01.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:01.111Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:01.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:01.111Z] [2023-02-14T18:03:01.111Z] Login Succeeded [2023-02-14T18:03:01.111Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:03:01.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:01.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:01.380Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:01.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:01.380Z] [2023-02-14T18:03:01.380Z] Login Succeeded [2023-02-14T18:03:01.380Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:03:01.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:01.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:01.380Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:01.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:01.380Z] [2023-02-14T18:03:01.380Z] Login Succeeded [2023-02-14T18:03:01.380Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:03:01.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:01.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:01.639Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:01.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:01.639Z] [2023-02-14T18:03:01.639Z] Login Succeeded [2023-02-14T18:03:01.639Z] docker.io [2023-02-14T18:03:01.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:01.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:01.900Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:01.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:01.900Z] [2023-02-14T18:03:01.900Z] Login Succeeded [2023-02-14T18:03:01.900Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:03:01.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T18:03:02.550Z] + git rev-list -1 --merges 182b8f785dca06f9092802e19e138f7c14059464~1..182b8f785dca06f9092802e19e138f7c14059464 [Pipeline] echo [2023-02-14T18:03:02.611Z] -----------> git rev-list -1 --merges 182b8f785dca06f9092802e19e138f7c14059464~1..182b8f785dca06f9092802e19e138f7c14059464 182b8f785dca06f9092802e19e138f7c14059464 [false] [Pipeline] sh [2023-02-14T18:03:02.913Z] + git log --format=format:%s -1 182b8f785dca06f9092802e19e138f7c14059464 [Pipeline] echo [2023-02-14T18:03:02.945Z] ========================================================= [2023-02-14T18:03:02.945Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T18:03:02.945Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:03:03.598Z] + git log --format=format:%s -1 182b8f785dca06f9092802e19e138f7c14059464 [Pipeline] echo [2023-02-14T18:03:03.630Z] [semverPrep] GIT_COMMIT: 182b8f785dca06f9092802e19e138f7c14059464, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-14T18:03:03.659Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T18:03:04.029Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T18:03:04.029Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T18:03:04.029Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T18:03:04.029Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T18:03:04.029Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T18:03:04.029Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T18:03:04.029Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:03:04.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:03:04.440Z] [2023-02-14T18:03:04.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:03:04.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:03:04.808Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T18:03:04.808Z] b85a868b505f: Pulling fs layer [2023-02-14T18:03:04.808Z] e2be974225ed: Pulling fs layer [2023-02-14T18:03:04.808Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T18:03:04.808Z] 988bab9f4d93: Pulling fs layer [2023-02-14T18:03:04.808Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T18:03:04.808Z] eaf3925da568: Pulling fs layer [2023-02-14T18:03:04.808Z] bab4dde63d76: Pulling fs layer [2023-02-14T18:03:04.808Z] bde34c3a00c8: Pulling fs layer [2023-02-14T18:03:04.808Z] b352a97aabf1: Pulling fs layer [2023-02-14T18:03:04.808Z] 4872d77fe225: Pulling fs layer [2023-02-14T18:03:04.808Z] 5851b861e8e6: Pulling fs layer [2023-02-14T18:03:04.808Z] 988bab9f4d93: Waiting [2023-02-14T18:03:04.808Z] 1469e6f7b9e6: Waiting [2023-02-14T18:03:04.808Z] eaf3925da568: Waiting [2023-02-14T18:03:04.808Z] bab4dde63d76: Waiting [2023-02-14T18:03:04.808Z] bde34c3a00c8: Waiting [2023-02-14T18:03:04.808Z] b352a97aabf1: Waiting [2023-02-14T18:03:04.808Z] 4872d77fe225: Waiting [2023-02-14T18:03:04.808Z] 5851b861e8e6: Waiting [2023-02-14T18:03:04.808Z] e2be974225ed: Verifying Checksum [2023-02-14T18:03:04.808Z] e2be974225ed: Download complete [2023-02-14T18:03:04.808Z] 988bab9f4d93: Verifying Checksum [2023-02-14T18:03:04.808Z] 988bab9f4d93: Download complete [2023-02-14T18:03:05.076Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T18:03:05.076Z] 1469e6f7b9e6: Download complete [2023-02-14T18:03:05.076Z] eaf3925da568: Verifying Checksum [2023-02-14T18:03:05.076Z] eaf3925da568: Download complete [2023-02-14T18:03:05.352Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T18:03:05.352Z] 339a4e72a1f5: Download complete [2023-02-14T18:03:05.352Z] bde34c3a00c8: Download complete [2023-02-14T18:03:05.352Z] b85a868b505f: Verifying Checksum [2023-02-14T18:03:05.352Z] b85a868b505f: Download complete [2023-02-14T18:03:05.352Z] b352a97aabf1: Verifying Checksum [2023-02-14T18:03:05.352Z] b352a97aabf1: Download complete [2023-02-14T18:03:05.352Z] 4872d77fe225: Verifying Checksum [2023-02-14T18:03:05.352Z] 4872d77fe225: Download complete [2023-02-14T18:03:05.352Z] 5851b861e8e6: Download complete [2023-02-14T18:03:05.611Z] bab4dde63d76: Verifying Checksum [2023-02-14T18:03:05.611Z] bab4dde63d76: Download complete [2023-02-14T18:03:06.549Z] b85a868b505f: Pull complete [2023-02-14T18:03:06.808Z] e2be974225ed: Pull complete [2023-02-14T18:03:07.394Z] 339a4e72a1f5: Pull complete [2023-02-14T18:03:07.394Z] 988bab9f4d93: Pull complete [2023-02-14T18:03:07.660Z] 1469e6f7b9e6: Pull complete [2023-02-14T18:03:07.660Z] eaf3925da568: Pull complete [2023-02-14T18:03:09.568Z] bab4dde63d76: Pull complete [2023-02-14T18:03:09.568Z] bde34c3a00c8: Pull complete [2023-02-14T18:03:09.828Z] b352a97aabf1: Pull complete [2023-02-14T18:03:09.828Z] 4872d77fe225: Pull complete [2023-02-14T18:03:09.828Z] 5851b861e8e6: Pull complete [2023-02-14T18:03:09.828Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T18:03:09.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T18:03:09.828Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:03:10.051Z] prd-ubuntu20.04-docker-8c-8g-5843 does not seem to be running inside a container [2023-02-14T18:03:10.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-146 -v /w/workspace/foundry_device-usb-camera_PR-146:/w/workspace/foundry_device-usb-camera_PR-146:rw,z -v /w/workspace/foundry_device-usb-camera_PR-146@tmp:/w/workspace/foundry_device-usb-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T18:03:12.512Z] $ docker top a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 -eo pid,comm [2023-02-14T18:03:12.562Z] 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-02-14T18:03:12.562Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T18:03:12.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T18:03:12.693Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T18:03:12.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T18:03:12.817Z] $ docker exec a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 ssh-agent [2023-02-14T18:03:12.929Z] SSH_AUTH_SOCK=/tmp/ssh-Eb1iqkx7oydK/agent.31 [2023-02-14T18:03:12.929Z] SSH_AGENT_PID=38 [2023-02-14T18:03:12.937Z] Running ssh-add (command line suppressed) [2023-02-14T18:03:13.050Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-146@tmp/private_key_15740195246199124332.key (/w/workspace/foundry_device-usb-camera_PR-146@tmp/private_key_15740195246199124332.key) [2023-02-14T18:03:13.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T18:03:13.383Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T18:03:13.411Z] $ docker exec --env ******** --env ******** a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 ssh-agent -k [2023-02-14T18:03:13.526Z] unset SSH_AUTH_SOCK; [2023-02-14T18:03:13.526Z] unset SSH_AGENT_PID; [2023-02-14T18:03:13.526Z] echo Agent pid 38 killed; [2023-02-14T18:03:13.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T18:03:13.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T18:03:13.627Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T18:03:13.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T18:03:13.755Z] $ docker exec a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 ssh-agent [2023-02-14T18:03:13.873Z] SSH_AUTH_SOCK=/tmp/ssh-lJpxk25yH8Ey/agent.70 [2023-02-14T18:03:13.873Z] SSH_AGENT_PID=76 [2023-02-14T18:03:13.879Z] Running ssh-add (command line suppressed) [2023-02-14T18:03:13.990Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-146@tmp/private_key_17700072029981856503.key (/w/workspace/foundry_device-usb-camera_PR-146@tmp/private_key_17700072029981856503.key) [2023-02-14T18:03:14.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T18:03:14.338Z] + git semver init [2023-02-14T18:03:14.597Z] 2023-02-14 18:03:14,519 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T18:03:14.597Z] 2023-02-14 18:03:14,520 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-146/.semver [2023-02-14T18:03:14.597Z] 2023-02-14 18:03:14,520 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-146/.semver [2023-02-14T18:03:14.597Z] 2023-02-14 18:03:14,520 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-146/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-146, universal_newlines=False, shell=None, istream=None) [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,354 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-146/.git/info/exclude [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-146/.semver/PR-146 with force:False [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,355 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-146/.semver/PR-146 [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,360 [execute] INFO git cat-file --batch-check [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,369 [execute] INFO git cat-file --batch [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-146/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T18:03:15.537Z] 2023-02-14 18:03:15,376 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-146/.semver/PR-146 [2023-02-14T18:03:15.537Z] 0.0.0 [Pipeline] } [2023-02-14T18:03:15.564Z] $ docker exec --env ******** --env ******** a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 ssh-agent -k [2023-02-14T18:03:15.680Z] unset SSH_AUTH_SOCK; [2023-02-14T18:03:15.680Z] unset SSH_AGENT_PID; [2023-02-14T18:03:15.681Z] echo Agent pid 76 killed; [2023-02-14T18:03:15.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T18:03:16.121Z] + git semver [Pipeline] } [2023-02-14T18:03:16.411Z] $ docker stop --time=1 a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 [2023-02-14T18:03:17.710Z] $ docker rm -f --volumes a3ef2e93314380a94ba28cb9de548434f1abb91a51a0f9520ab0956146e4f7f4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:03:18.110Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T18:03:18.382Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T18:03:18.399Z] [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-02-14T18:03:18.982Z] provisioning config files... [2023-02-14T18:03:18.991Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-146@tmp/config1438542170777312695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:03:19.335Z] ---> docker-login.sh [2023-02-14T18:03:19.335Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:03:19.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:19.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:19.335Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:19.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:19.335Z] [2023-02-14T18:03:19.335Z] Login Succeeded [2023-02-14T18:03:19.335Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:03:19.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:19.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:19.335Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:19.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:19.335Z] [2023-02-14T18:03:19.335Z] Login Succeeded [2023-02-14T18:03:19.335Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:03:19.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:19.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:19.594Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:19.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:19.594Z] [2023-02-14T18:03:19.594Z] Login Succeeded [2023-02-14T18:03:19.594Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:03:19.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:19.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:19.594Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:19.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:19.594Z] [2023-02-14T18:03:19.594Z] Login Succeeded [2023-02-14T18:03:19.594Z] docker.io [2023-02-14T18:03:19.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:03:19.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:03:19.854Z] Configure a credential helper to remove this warning. See [2023-02-14T18:03:19.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:03:19.854Z] [2023-02-14T18:03:19.854Z] Login Succeeded [2023-02-14T18:03:19.854Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:03:19.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T18:03:20.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:03:20.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:03:20.148Z] ========================================================= [2023-02-14T18:03:20.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T18:03:20.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:03:20.617Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T18:03:20.618Z] Sending build context to Docker daemon 1.732MB [2023-02-14T18:03:20.618Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:03:20.618Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-14T18:03:20.618Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T18:03:20.618Z] 213ec9aee27d: Pulling fs layer [2023-02-14T18:03:20.618Z] 4583459ba037: Pulling fs layer [2023-02-14T18:03:20.618Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T18:03:20.618Z] 53926ce57604: Pulling fs layer [2023-02-14T18:03:20.618Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T18:03:20.618Z] 22ff95d597cd: Pulling fs layer [2023-02-14T18:03:20.618Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T18:03:20.618Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T18:03:20.618Z] a7acece74701: Pulling fs layer [2023-02-14T18:03:20.618Z] 21b2b0c7a3f4: Waiting [2023-02-14T18:03:20.618Z] a7acece74701: Waiting [2023-02-14T18:03:20.618Z] 96b7cbca73a9: Waiting [2023-02-14T18:03:20.618Z] 22ff95d597cd: Waiting [2023-02-14T18:03:20.618Z] 12d6caf4c0d1: Waiting [2023-02-14T18:03:20.618Z] 53926ce57604: Waiting [2023-02-14T18:03:20.618Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T18:03:20.618Z] 93c1e223e6f2: Download complete [2023-02-14T18:03:20.618Z] 4583459ba037: Download complete [2023-02-14T18:03:20.618Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T18:03:20.618Z] 21b2b0c7a3f4: Download complete [2023-02-14T18:03:20.887Z] 22ff95d597cd: Verifying Checksum [2023-02-14T18:03:20.887Z] 22ff95d597cd: Download complete [2023-02-14T18:03:20.887Z] 213ec9aee27d: Download complete [2023-02-14T18:03:20.887Z] 12d6caf4c0d1: Verifying Checksum [2023-02-14T18:03:20.887Z] 12d6caf4c0d1: Download complete [2023-02-14T18:03:20.887Z] 213ec9aee27d: Pull complete [2023-02-14T18:03:21.166Z] 4583459ba037: Pull complete [2023-02-14T18:03:21.166Z] 93c1e223e6f2: Pull complete [2023-02-14T18:03:22.039Z] a7acece74701: Verifying Checksum [2023-02-14T18:03:22.039Z] a7acece74701: Download complete [2023-02-14T18:03:22.039Z] 53926ce57604: Download complete [2023-02-14T18:03:22.603Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T18:03:22.603Z] 96b7cbca73a9: Download complete [2023-02-14T18:03:25.884Z] 53926ce57604: Pull complete [2023-02-14T18:03:25.884Z] 21b2b0c7a3f4: Pull complete [2023-02-14T18:03:26.142Z] 22ff95d597cd: Pull complete [2023-02-14T18:03:26.142Z] 12d6caf4c0d1: Pull complete [2023-02-14T18:03:28.064Z] 96b7cbca73a9: Pull complete [2023-02-14T18:03:29.018Z] a7acece74701: Pull complete [2023-02-14T18:03:29.018Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T18:03:29.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T18:03:29.018Z] ---> db6d94c90886 [2023-02-14T18:03:29.018Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:03:33.237Z] ---> Running in 0fa4d6e2f7d9 [2023-02-14T18:03:33.237Z] Removing intermediate container 0fa4d6e2f7d9 [2023-02-14T18:03:33.237Z] ---> 065eedee730a [2023-02-14T18:03:33.237Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:03:33.237Z] ---> Running in b48d88265800 [2023-02-14T18:03:33.496Z] Removing intermediate container b48d88265800 [2023-02-14T18:03:33.496Z] ---> 754497512b40 [2023-02-14T18:03:33.496Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-14T18:03:33.496Z] ---> Running in 2edf9d5d47d8 [2023-02-14T18:03:33.496Z] Removing intermediate container 2edf9d5d47d8 [2023-02-14T18:03:33.496Z] ---> 34bd2062a758 [2023-02-14T18:03:33.496Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-14T18:03:33.496Z] ---> Running in 7e527cf427b0 [2023-02-14T18:03:33.754Z] Removing intermediate container 7e527cf427b0 [2023-02-14T18:03:33.754Z] ---> 28aa04b2b124 [2023-02-14T18:03:33.754Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:03:33.754Z] ---> Running in 8c2036a431b2 [2023-02-14T18:03:33.793Z] Still waiting to schedule task [2023-02-14T18:03:33.794Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-14T18:03:34.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:03:34.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:03:34.277Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-14T18:03:34.277Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-14T18:03:34.277Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-14T18:03:34.277Z] (4/80) Installing libxcb (1.15-r0) [2023-02-14T18:03:34.537Z] (5/80) Installing libx11 (1.8-r0) [2023-02-14T18:03:34.537Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-14T18:03:34.537Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-14T18:03:34.537Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-14T18:03:34.537Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-14T18:03:34.537Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-14T18:03:34.537Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-14T18:03:34.537Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-14T18:03:34.537Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-14T18:03:34.537Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-14T18:03:34.537Z] (15/80) Installing libice (1.0.10-r0) [2023-02-14T18:03:34.537Z] (16/80) Installing libuuid (2.38-r1) [2023-02-14T18:03:34.537Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-14T18:03:34.795Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-14T18:03:34.795Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-14T18:03:34.795Z] (20/80) Installing xset (1.2.4-r0) [2023-02-14T18:03:34.795Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-14T18:03:34.795Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-14T18:03:34.795Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-14T18:03:34.795Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-14T18:03:34.795Z] (25/80) Installing libintl (0.21-r2) [2023-02-14T18:03:34.795Z] (26/80) Installing libblkid (2.38-r1) [2023-02-14T18:03:34.795Z] (27/80) Installing libmount (2.38-r1) [2023-02-14T18:03:34.795Z] (28/80) Installing pcre (8.45-r2) [2023-02-14T18:03:34.795Z] (29/80) Installing glib (2.72.1-r0) [2023-02-14T18:03:34.795Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-14T18:03:34.795Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-14T18:03:34.795Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-14T18:03:34.795Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-14T18:03:34.795Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-14T18:03:34.795Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-14T18:03:35.055Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-14T18:03:35.055Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-14T18:03:35.055Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-14T18:03:35.055Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-14T18:03:35.055Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-14T18:03:35.055Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-14T18:03:35.055Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-14T18:03:35.055Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-14T18:03:35.055Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-14T18:03:35.055Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-14T18:03:35.055Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-14T18:03:35.055Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-14T18:03:35.055Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-14T18:03:35.055Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-14T18:03:35.055Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-14T18:03:35.315Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-14T18:03:35.315Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-14T18:03:35.315Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-14T18:03:35.315Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-14T18:03:35.315Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-14T18:03:35.315Z] (56/80) Installing libunistring (1.0-r0) [2023-02-14T18:03:35.315Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-14T18:03:35.315Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-14T18:03:35.315Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-14T18:03:35.315Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-14T18:03:35.315Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-14T18:03:35.315Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-14T18:03:35.315Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-14T18:03:35.315Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-14T18:03:35.315Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-14T18:03:35.315Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-14T18:03:35.315Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-14T18:03:35.315Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-14T18:03:35.315Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-14T18:03:35.315Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-14T18:03:35.315Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-14T18:03:35.315Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-02-14T18:03:35.580Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-14T18:03:35.580Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-14T18:03:35.580Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-14T18:03:35.580Z] Executing udev-init-scripts-35-r0.post-install [2023-02-14T18:03:35.580Z] (76/80) Installing kmod-libs (29-r2) [2023-02-14T18:03:35.580Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-14T18:03:35.580Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-14T18:03:35.580Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-14T18:03:35.580Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-14T18:03:35.580Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:03:35.580Z] Executing eudev-3.2.11-r0.trigger [2023-02-14T18:03:35.580Z] OK: 331 MiB in 131 packages [2023-02-14T18:03:38.865Z] Removing intermediate container 8c2036a431b2 [2023-02-14T18:03:38.865Z] ---> 791db890d522 [2023-02-14T18:03:38.865Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-14T18:03:38.865Z] ---> Running in d653b2ed1be5 [2023-02-14T18:03:38.865Z] Removing intermediate container d653b2ed1be5 [2023-02-14T18:03:38.865Z] ---> 300da11df887 [2023-02-14T18:03:38.865Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-14T18:03:39.125Z] ---> 27ac97e0e963 [2023-02-14T18:03:39.125Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:03:39.125Z] ---> Running in b84ec599f95f [2023-02-14T18:04:17.945Z] Removing intermediate container b84ec599f95f [2023-02-14T18:04:17.945Z] ---> 84b38cae7c2d [2023-02-14T18:04:17.945Z] Step 11/13 : COPY . . [2023-02-14T18:04:17.945Z] ---> fd06112cb7a7 [2023-02-14T18:04:17.945Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-14T18:04:17.945Z] ---> Running in 9b5769467266 [2023-02-14T18:04:17.945Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:04:17.945Z] Dload Upload Total Spent Left Speed [2023-02-14T18:04:17.945Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8418 0 --:--:-- --:--:-- --:--:-- 8496 [2023-02-14T18:04:17.945Z] Removing intermediate container 9b5769467266 [2023-02-14T18:04:17.945Z] ---> b62029d70ea9 [2023-02-14T18:04:17.945Z] Step 13/13 : RUN ${MAKE} [2023-02-14T18:04:17.945Z] ---> Running in 62f88dd0bafb [2023-02-14T18:04:17.945Z] noop [2023-02-14T18:04:17.945Z] Removing intermediate container 62f88dd0bafb [2023-02-14T18:04:17.945Z] ---> 48a07e425dcb [2023-02-14T18:04:17.945Z] Successfully built 48a07e425dcb [2023-02-14T18:04:17.945Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:04:18.398Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T18:04:18.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:04:18.548Z] prd-ubuntu20.04-docker-8c-8g-5843 does not seem to be running inside a container [2023-02-14T18:04:18.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-146 -v /w/workspace/foundry_device-usb-camera_PR-146:/w/workspace/foundry_device-usb-camera_PR-146:rw,z -v /w/workspace/foundry_device-usb-camera_PR-146@tmp:/w/workspace/foundry_device-usb-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T18:04:18.912Z] $ docker top 2d7349264532f019546ef45983d79df14820c69250f1063a187df88b153de840 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:04:19.292Z] + go version [2023-02-14T18:04:19.292Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T18:04:19.325Z] $ docker stop --time=1 2d7349264532f019546ef45983d79df14820c69250f1063a187df88b153de840 [2023-02-14T18:04:20.616Z] $ docker rm -f --volumes 2d7349264532f019546ef45983d79df14820c69250f1063a187df88b153de840 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:04:21.280Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T18:04:21.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:04:21.422Z] prd-ubuntu20.04-docker-8c-8g-5843 does not seem to be running inside a container [2023-02-14T18:04:21.453Z] $ 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-146 -v /w/workspace/foundry_device-usb-camera_PR-146:/w/workspace/foundry_device-usb-camera_PR-146:rw,z -v /w/workspace/foundry_device-usb-camera_PR-146@tmp:/w/workspace/foundry_device-usb-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T18:04:21.792Z] $ docker top b07c71fbe895bc2685553b9ca1130976816bfbc2d0d56245641a2e8c5d1ef537 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:04:22.175Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-146 [Pipeline] fileExists [Pipeline] sh [2023-02-14T18:04:22.534Z] + make test [2023-02-14T18:04:22.534Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T18:04:22.793Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-14T18:04:32.754Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-14T18:04:33.685Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements [2023-02-14T18:04:41.797Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T18:04:41.797Z] go vet ./... [2023-02-14T18:04:45.078Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T18:04:45.078Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T18:04:45.078Z] ./bin/test-attribution-txt.sh [2023-02-14T18:04:45.078Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T18:04:45.078Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T18:04:45.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T18:04:45.144Z] $ docker stop --time=1 b07c71fbe895bc2685553b9ca1130976816bfbc2d0d56245641a2e8c5d1ef537 [2023-02-14T18:04:47.440Z] $ docker rm -f --volumes b07c71fbe895bc2685553b9ca1130976816bfbc2d0d56245641a2e8c5d1ef537 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:04:47.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T18:04:48.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T18:04:48.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T18:04:49.047Z] + ls -al . [2023-02-14T18:04:49.047Z] total 196 [2023-02-14T18:04:49.047Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 18:04 . [2023-02-14T18:04:49.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:02 .. [2023-02-14T18:04:49.047Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:04 .git [2023-02-14T18:04:49.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:02 .github [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 14 18:02 .gitignore [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 18:02 .golangci.yml [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 14 18:02 .hadolint.yml [2023-02-14T18:04:49.047Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:03 .semver [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 9442 Feb 14 18:02 Attribution.txt [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 14 18:02 CHANGELOG.md [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 14 18:02 Dockerfile [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 14 18:02 GOVERNANCE.md [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 14 18:02 Jenkinsfile [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 14 18:02 LICENSE [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 14 18:02 Makefile [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 18:02 OWNERS.md [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 14 18:02 README.md [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:03 VERSION [2023-02-14T18:04:49.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:02 bin [2023-02-14T18:04:49.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:02 cmd [2023-02-14T18:04:49.047Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 14 18:04 coverage.out [2023-02-14T18:04:49.047Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 14 18:02 docker-entrypoint.sh [2023-02-14T18:04:49.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:02 docs [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 14 18:02 go.mod [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 14 18:02 go.sum [2023-02-14T18:04:49.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:02 internal [2023-02-14T18:04:49.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:02 snap [2023-02-14T18:04:49.047Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 14 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:04:49.434Z] + 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=182b8f785dca06f9092802e19e138f7c14059464 --label arch=amd64 --label version=0.0.0 . [2023-02-14T18:04:49.434Z] Sending build context to Docker daemon 1.763MB [2023-02-14T18:04:49.434Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:04:49.434Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-14T18:04:49.434Z] ---> 48a07e425dcb [2023-02-14T18:04:49.434Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:04:49.434Z] ---> Running in 4322e97a632a [2023-02-14T18:04:49.693Z] Removing intermediate container 4322e97a632a [2023-02-14T18:04:49.693Z] ---> e2a1cd1ecc93 [2023-02-14T18:04:49.693Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:04:49.693Z] ---> Running in 9793c2fbb4b2 [2023-02-14T18:04:49.693Z] Removing intermediate container 9793c2fbb4b2 [2023-02-14T18:04:49.693Z] ---> 76c33cb6083c [2023-02-14T18:04:49.693Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-14T18:04:49.693Z] ---> Running in 5d6b0d55646a [2023-02-14T18:04:49.693Z] Removing intermediate container 5d6b0d55646a [2023-02-14T18:04:49.693Z] ---> 78bccf4eae0f [2023-02-14T18:04:49.693Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-14T18:04:49.953Z] ---> Running in a5bc193350e0 [2023-02-14T18:04:49.954Z] Removing intermediate container a5bc193350e0 [2023-02-14T18:04:49.954Z] ---> 8440151bd2ad [2023-02-14T18:04:49.954Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:04:49.954Z] ---> Running in 4555cb6fa67a [2023-02-14T18:04:50.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:04:51.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:04:51.855Z] OK: 331 MiB in 131 packages [2023-02-14T18:04:52.115Z] Removing intermediate container 4555cb6fa67a [2023-02-14T18:04:52.115Z] ---> d562d06ec3a4 [2023-02-14T18:04:52.115Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-14T18:04:52.115Z] ---> Running in 0fc416aa81dc [2023-02-14T18:04:52.115Z] Removing intermediate container 0fc416aa81dc [2023-02-14T18:04:52.115Z] ---> 8071abf158cb [2023-02-14T18:04:52.115Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-14T18:04:52.374Z] ---> e5b76951dbd6 [2023-02-14T18:04:52.374Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:04:52.374Z] ---> Running in 5e0d7d03c907 [2023-02-14T18:04:53.351Z] Removing intermediate container 5e0d7d03c907 [2023-02-14T18:04:53.351Z] ---> eb738b391464 [2023-02-14T18:04:53.351Z] Step 11/35 : COPY . . [2023-02-14T18:04:53.609Z] ---> 86b67cecccfb [2023-02-14T18:04:53.609Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-14T18:04:53.609Z] ---> Running in 11d31cff5540 [2023-02-14T18:04:53.868Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:04:53.868Z] Dload Upload Total Spent Left Speed [2023-02-14T18:04:53.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43676 0 --:--:-- --:--:-- --:--:-- 44250 [2023-02-14T18:04:54.126Z] Removing intermediate container 11d31cff5540 [2023-02-14T18:04:54.126Z] ---> 42177fdf1ef9 [2023-02-14T18:04:54.126Z] Step 13/35 : RUN ${MAKE} [2023-02-14T18:04:54.126Z] ---> Running in 551678494e25 [2023-02-14T18:04:54.386Z] 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-02-14T18:05:16.444Z] Removing intermediate container 551678494e25 [2023-02-14T18:05:16.444Z] ---> 6d0b9f22d3f7 [2023-02-14T18:05:16.444Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-14T18:05:16.444Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-14T18:05:16.444Z] af6660deedbd: Pulling fs layer [2023-02-14T18:05:16.444Z] 97cd0a44c592: Pulling fs layer [2023-02-14T18:05:16.704Z] 97cd0a44c592: Verifying Checksum [2023-02-14T18:05:16.704Z] 97cd0a44c592: Download complete [2023-02-14T18:05:16.704Z] af6660deedbd: Verifying Checksum [2023-02-14T18:05:16.704Z] af6660deedbd: Download complete [2023-02-14T18:05:16.963Z] af6660deedbd: Pull complete [2023-02-14T18:05:16.963Z] 97cd0a44c592: Pull complete [2023-02-14T18:05:16.963Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-14T18:05:16.963Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-14T18:05:16.963Z] ---> fea57e182299 [2023-02-14T18:05:16.963Z] Step 15/35 : FROM alpine:3.16 [2023-02-14T18:05:17.532Z] 3.16: Pulling from library/alpine [2023-02-14T18:05:17.532Z] ef5531b6e74e: Pulling fs layer [2023-02-14T18:05:17.792Z] ef5531b6e74e: Verifying Checksum [2023-02-14T18:05:17.792Z] ef5531b6e74e: Download complete [2023-02-14T18:05:18.088Z] ef5531b6e74e: Pull complete [2023-02-14T18:05:18.088Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T18:05:18.088Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T18:05:18.088Z] ---> dfd21b5a31f5 [2023-02-14T18:05:18.088Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-14T18:05:18.352Z] ---> Running in 081a48596fe3 [2023-02-14T18:05:18.352Z] Removing intermediate container 081a48596fe3 [2023-02-14T18:05:18.352Z] ---> 428153fa1659 [2023-02-14T18:05:18.352Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-14T18:05:18.352Z] ---> Running in dbc9e78e162f [2023-02-14T18:05:18.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T18:05:18.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T18:05:19.128Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-02-14T18:05:19.128Z] (2/80) Installing sdl2 (2.0.22-r0) [2023-02-14T18:05:19.128Z] (3/80) Installing libxau (1.0.9-r0) [2023-02-14T18:05:19.128Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-02-14T18:05:19.128Z] (5/80) Installing libxcb (1.15-r0) [2023-02-14T18:05:19.128Z] (6/80) Installing libx11 (1.8-r0) [2023-02-14T18:05:19.387Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-02-14T18:05:19.387Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-02-14T18:05:19.388Z] (9/80) Installing expat (2.5.0-r0) [2023-02-14T18:05:19.388Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-02-14T18:05:19.388Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-02-14T18:05:19.388Z] (12/80) Installing libpng (1.6.37-r1) [2023-02-14T18:05:19.388Z] (13/80) Installing freetype (2.12.1-r0) [2023-02-14T18:05:19.388Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-02-14T18:05:19.388Z] (15/80) Installing fribidi (1.0.12-r0) [2023-02-14T18:05:19.388Z] (16/80) Installing libffi (3.4.2-r1) [2023-02-14T18:05:19.388Z] (17/80) Installing libintl (0.21-r2) [2023-02-14T18:05:19.388Z] (18/80) Installing libblkid (2.38-r1) [2023-02-14T18:05:19.388Z] (19/80) Installing libmount (2.38-r1) [2023-02-14T18:05:19.388Z] (20/80) Installing pcre (8.45-r2) [2023-02-14T18:05:19.388Z] (21/80) Installing glib (2.72.1-r0) [2023-02-14T18:05:19.647Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-02-14T18:05:19.647Z] (23/80) Installing harfbuzz (4.3.0-r0) [2023-02-14T18:05:19.647Z] (24/80) Installing libass (0.16.0-r0) [2023-02-14T18:05:19.647Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-02-14T18:05:19.647Z] (26/80) Installing libpciaccess (0.16-r0) [2023-02-14T18:05:19.647Z] (27/80) Installing libdrm (2.4.110-r0) [2023-02-14T18:05:19.647Z] (28/80) Installing gmp (6.2.1-r2) [2023-02-14T18:05:19.647Z] (29/80) Installing nettle (3.7.3-r0) [2023-02-14T18:05:19.647Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-02-14T18:05:19.647Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-02-14T18:05:19.647Z] (32/80) Installing libunistring (1.0-r0) [2023-02-14T18:05:19.647Z] (33/80) Installing gnutls (3.7.7-r1) [2023-02-14T18:05:19.647Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-14T18:05:19.905Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-14T18:05:19.905Z] (36/80) Installing lame (3.100-r0) [2023-02-14T18:05:19.905Z] (37/80) Installing opus (1.3.1-r1) [2023-02-14T18:05:19.905Z] (38/80) Installing libasyncns (0.8-r1) [2023-02-14T18:05:19.905Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-02-14T18:05:19.905Z] (40/80) Installing libltdl (2.4.7-r0) [2023-02-14T18:05:19.905Z] (41/80) Installing orc (0.4.32-r0) [2023-02-14T18:05:19.905Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-02-14T18:05:19.905Z] (43/80) Installing libogg (1.3.5-r1) [2023-02-14T18:05:19.905Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-14T18:05:19.905Z] (45/80) Installing flac (1.3.4-r0) [2023-02-14T18:05:19.905Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-02-14T18:05:19.905Z] (47/80) Installing libsndfile (1.1.0-r0) [2023-02-14T18:05:19.905Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-02-14T18:05:19.905Z] (49/80) Installing soxr (0.1.3-r2) [2023-02-14T18:05:19.905Z] (50/80) Installing speexdsp (1.2.0-r0) [2023-02-14T18:05:19.905Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-02-14T18:05:19.905Z] (52/80) Installing libpulse (15.0-r2) [2023-02-14T18:05:20.163Z] (53/80) Installing cjson (1.7.15-r3) [2023-02-14T18:05:20.163Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-02-14T18:05:20.163Z] (55/80) Installing librist (0.2.6-r1) [2023-02-14T18:05:20.163Z] (56/80) Installing libsrt (1.4.4-r0) [2023-02-14T18:05:20.163Z] (57/80) Installing libssh (0.9.6-r1) [2023-02-14T18:05:20.163Z] (58/80) Installing libtheora (1.1.1-r16) [2023-02-14T18:05:20.163Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-14T18:05:20.163Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-14T18:05:20.163Z] (61/80) Installing libxext (1.3.4-r0) [2023-02-14T18:05:20.163Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-02-14T18:05:20.163Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-14T18:05:20.163Z] (64/80) Installing libva (2.14.0-r0) [2023-02-14T18:05:20.163Z] (65/80) Installing libvdpau (1.5-r0) [2023-02-14T18:05:20.163Z] (66/80) Installing vidstab (1.1.0-r1) [2023-02-14T18:05:20.163Z] (67/80) Installing libvpx (1.11.0-r1) [2023-02-14T18:05:20.163Z] (68/80) Installing libwebp (1.2.3-r0) [2023-02-14T18:05:20.163Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-02-14T18:05:20.422Z] (70/80) Installing numactl (2.0.14-r0) [2023-02-14T18:05:20.422Z] (71/80) Installing x265-libs (3.5-r3) [2023-02-14T18:05:20.422Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-02-14T18:05:20.422Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-02-14T18:05:20.422Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-02-14T18:05:20.422Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-14T18:05:20.422Z] Executing udev-init-scripts-35-r0.post-install [2023-02-14T18:05:20.422Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-02-14T18:05:20.422Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-02-14T18:05:20.680Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-02-14T18:05:20.680Z] (79/80) Installing kmod-libs (29-r2) [2023-02-14T18:05:20.680Z] (80/80) Installing eudev (3.2.11-r0) [2023-02-14T18:05:20.680Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:05:20.680Z] Executing eudev-3.2.11-r0.trigger [2023-02-14T18:05:20.680Z] OK: 100 MiB in 94 packages [2023-02-14T18:05:23.212Z] Removing intermediate container dbc9e78e162f [2023-02-14T18:05:23.212Z] ---> 2709835a4d56 [2023-02-14T18:05:23.212Z] Step 18/35 : WORKDIR / [2023-02-14T18:05:23.212Z] ---> Running in 2fcd75ce2d84 [2023-02-14T18:05:23.212Z] Removing intermediate container 2fcd75ce2d84 [2023-02-14T18:05:23.212Z] ---> 2870aea34a92 [2023-02-14T18:05:23.212Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-14T18:05:23.845Z] ---> c7dd27221273 [2023-02-14T18:05:23.845Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-14T18:05:24.105Z] ---> 95cd39b95d77 [2023-02-14T18:05:24.105Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-14T18:05:24.105Z] ---> b3f6b0287c68 [2023-02-14T18:05:24.105Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-14T18:05:24.364Z] ---> eb77387b83aa [2023-02-14T18:05:24.364Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-14T18:05:24.364Z] ---> 5675c7643859 [2023-02-14T18:05:24.364Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-14T18:05:24.624Z] ---> e719cbf5b00c [2023-02-14T18:05:24.624Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-14T18:05:25.351Z] ---> b8626d807a43 [2023-02-14T18:05:25.351Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-14T18:05:25.351Z] ---> Running in c9d457c2e9fd [2023-02-14T18:05:25.609Z] Removing intermediate container c9d457c2e9fd [2023-02-14T18:05:25.609Z] ---> e38a48481589 [2023-02-14T18:05:25.609Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-14T18:05:25.609Z] ---> Running in 7915f8aa385e [2023-02-14T18:05:26.185Z] Removing intermediate container 7915f8aa385e [2023-02-14T18:05:26.185Z] ---> a6ce7d44dc1f [2023-02-14T18:05:26.185Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-14T18:05:26.185Z] ---> Running in f8ef786ff1a9 [2023-02-14T18:05:26.834Z] Removing intermediate container f8ef786ff1a9 [2023-02-14T18:05:26.834Z] ---> 9d3a9bca9b82 [2023-02-14T18:05:26.834Z] Step 29/35 : EXPOSE 59983 [2023-02-14T18:05:26.834Z] ---> Running in 2bc6a141bf80 [2023-02-14T18:05:26.834Z] Removing intermediate container 2bc6a141bf80 [2023-02-14T18:05:26.834Z] ---> 2024bbf4201f [2023-02-14T18:05:26.834Z] Step 30/35 : EXPOSE 8554 [2023-02-14T18:05:26.834Z] ---> Running in 1f3e0464f10d [2023-02-14T18:05:27.242Z] Removing intermediate container 1f3e0464f10d [2023-02-14T18:05:27.242Z] ---> c9d1b7db628e [2023-02-14T18:05:27.242Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-14T18:05:27.242Z] ---> Running in fad84d8b41a7 [2023-02-14T18:05:27.242Z] Removing intermediate container fad84d8b41a7 [2023-02-14T18:05:27.242Z] ---> 71d2bd3a9dc5 [2023-02-14T18:05:27.242Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-14T18:05:27.242Z] ---> Running in c98fd681880f [2023-02-14T18:05:27.242Z] Removing intermediate container c98fd681880f [2023-02-14T18:05:27.242Z] ---> 3b155dbf25d5 [2023-02-14T18:05:27.242Z] Step 33/35 : LABEL arch=amd64 [2023-02-14T18:05:27.242Z] ---> Running in 3520a9290da8 [2023-02-14T18:05:27.502Z] Removing intermediate container 3520a9290da8 [2023-02-14T18:05:27.502Z] ---> 2d76e543b9e8 [2023-02-14T18:05:27.502Z] Step 34/35 : LABEL git_sha=182b8f785dca06f9092802e19e138f7c14059464 [2023-02-14T18:05:27.502Z] ---> Running in b47963ab5af3 [2023-02-14T18:05:27.502Z] Removing intermediate container b47963ab5af3 [2023-02-14T18:05:27.502Z] ---> a5e3d5f53010 [2023-02-14T18:05:27.502Z] Step 35/35 : LABEL version=0.0.0 [2023-02-14T18:05:27.502Z] ---> Running in dacbe19fc5ce [2023-02-14T18:05:27.502Z] Removing intermediate container dacbe19fc5ce [2023-02-14T18:05:27.502Z] ---> 55423f50a3bc [2023-02-14T18:05:27.502Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T18:05:27.502Z] Successfully built 55423f50a3bc [2023-02-14T18:05:27.502Z] 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-02-14T18:05:28.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:05:28.713Z] [2023-02-14T18:05:28.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:05:29.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:05:29.564Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T18:05:29.564Z] 5eb5b503b376: Pulling fs layer [2023-02-14T18:05:29.564Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T18:05:29.564Z] ec43610c2a17: Pulling fs layer [2023-02-14T18:05:29.564Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T18:05:29.564Z] 33b1e0a273af: Pulling fs layer [2023-02-14T18:05:29.564Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T18:05:29.564Z] 2f39f015ded8: Pulling fs layer [2023-02-14T18:05:29.564Z] 33b1e0a273af: Waiting [2023-02-14T18:05:29.564Z] 3a2ae6a8a46f: Waiting [2023-02-14T18:05:29.564Z] 5d3b04190fa2: Waiting [2023-02-14T18:05:29.564Z] 2f39f015ded8: Waiting [2023-02-14T18:05:29.851Z] 5c69ac0246d0: Verifying Checksum [2023-02-14T18:05:29.851Z] 5c69ac0246d0: Download complete [2023-02-14T18:05:29.851Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T18:05:29.851Z] 3a2ae6a8a46f: Download complete [2023-02-14T18:05:30.134Z] 33b1e0a273af: Verifying Checksum [2023-02-14T18:05:30.134Z] 33b1e0a273af: Download complete [2023-02-14T18:05:30.134Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T18:05:30.134Z] 5d3b04190fa2: Download complete [2023-02-14T18:05:30.406Z] ec43610c2a17: Verifying Checksum [2023-02-14T18:05:30.406Z] 5eb5b503b376: Verifying Checksum [2023-02-14T18:05:30.406Z] 5eb5b503b376: Download complete [2023-02-14T18:05:31.355Z] 2f39f015ded8: Download complete [2023-02-14T18:05:31.615Z] 5eb5b503b376: Pull complete [2023-02-14T18:05:31.615Z] 5c69ac0246d0: Pull complete [2023-02-14T18:05:32.188Z] ec43610c2a17: Pull complete [2023-02-14T18:05:32.188Z] 3a2ae6a8a46f: Pull complete [2023-02-14T18:05:32.447Z] 33b1e0a273af: Pull complete [2023-02-14T18:05:32.447Z] 5d3b04190fa2: Pull complete [2023-02-14T18:05:36.645Z] 2f39f015ded8: Pull complete [2023-02-14T18:05:36.645Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T18:05:36.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:05:36.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:05:36.879Z] prd-ubuntu20.04-docker-8c-8g-5843 does not seem to be running inside a container [2023-02-14T18:05:36.916Z] $ 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-146 -v /w/workspace/foundry_device-usb-camera_PR-146:/w/workspace/foundry_device-usb-camera_PR-146:rw,z -v /w/workspace/foundry_device-usb-camera_PR-146@tmp:/w/workspace/foundry_device-usb-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T18:05:40.640Z] $ docker top 620a1e946a93f9ba2b7027ba560b21ce7d6ee335e4ed973f52ac2eb1b9091a87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:05:41.076Z] ---> job-cost.sh [2023-02-14T18:05:41.076Z] lf-activate-venv: SKIPPING [2023-02-14T18:05:41.076Z] INFO: No Stack... [2023-02-14T18:05:41.335Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T18:05:41.596Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T18:05:41.913Z] + cat /w/workspace/foundry_device-usb-camera_PR-146/archives/cost.csv [2023-02-14T18:05:41.914Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T18:05:41.953Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] [2023-02-14T18:05:41.957Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] did not exist. Created. [2023-02-14T18:05:41.958Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T18:05:42.361Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T18:05:42.407Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T18:05:42.439Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T18:05:42.515Z] $ docker stop --time=1 620a1e946a93f9ba2b7027ba560b21ce7d6ee335e4ed973f52ac2eb1b9091a87 [2023-02-14T18:05:43.656Z] $ docker rm -f --volumes 620a1e946a93f9ba2b7027ba560b21ce7d6ee335e4ed973f52ac2eb1b9091a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T18:06:08.115Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5849 in /w/workspace/foundry_device-usb-camera_PR-146 [Pipeline] { [Pipeline] ws [2023-02-14T18:06:08.165Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-14T18:06:08.246Z] Selected Git installation does not exist. Using Default [2023-02-14T18:06:08.246Z] The recommended git tool is: NONE [2023-02-14T18:06:14.740Z] using credential edgex-jenkins-ssh [2023-02-14T18:06:14.766Z] Cloning the remote Git repository [2023-02-14T18:06:14.823Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-14T18:06:14.919Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-02-14T18:06:15.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-14T18:06:15.102Z] > git --version # timeout=10 [2023-02-14T18:06:15.127Z] > git --version # 'git version 2.25.1' [2023-02-14T18:06:15.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:06:15.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T18:06:16.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-14T18:06:16.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T18:06:17.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-14T18:06:17.786Z] Merging remotes/origin/main commit c4833ecb71a5b036c07645cdd3981a69f5c223ec into PR head commit 182b8f785dca06f9092802e19e138f7c14059464 [2023-02-14T18:06:18.057Z] Merge succeeded, producing 182b8f785dca06f9092802e19e138f7c14059464 [2023-02-14T18:06:18.057Z] Checking out Revision 182b8f785dca06f9092802e19e138f7c14059464 (PR-146) [2023-02-14T18:06:17.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-14T18:06:17.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:06:17.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T18:06:17.810Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T18:06:17.838Z] > git checkout -f 182b8f785dca06f9092802e19e138f7c14059464 # timeout=10 [2023-02-14T18:06:17.948Z] > git remote # timeout=10 [2023-02-14T18:06:17.970Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T18:06:17.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T18:06:18.007Z] > git merge c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 [2023-02-14T18:06:18.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T18:06:18.067Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T18:06:18.092Z] > git checkout -f 182b8f785dca06f9092802e19e138f7c14059464 # timeout=10 [2023-02-14T18:06:18.718Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-14T18:06:18.784Z] > git --version # timeout=10 [2023-02-14T18:06:18.798Z] > git --version # 'git version 2.25.1' [2023-02-14T18:06:18.822Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:06:19.943Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T18:06:19.943Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:06:19.943Z] Dload Upload Total Spent Left Speed [2023-02-14T18:06:19.943Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-02-14T18:06:20.599Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T18:06:20.965Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T18:06:20.965Z] + sudo tee /etc/docker/daemon.new [2023-02-14T18:06:20.965Z] { [2023-02-14T18:06:20.965Z] "registry-mirrors": [ [2023-02-14T18:06:20.965Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T18:06:20.965Z] ], [2023-02-14T18:06:20.965Z] "bip": "10.250.0.254/24", [2023-02-14T18:06:20.965Z] "hosts": [ [2023-02-14T18:06:20.965Z] "tcp://0.0.0.0:5555", [2023-02-14T18:06:20.965Z] "unix:///var/run/docker.sock" [2023-02-14T18:06:20.965Z] ], [2023-02-14T18:06:20.965Z] "mtu": 1458, [2023-02-14T18:06:20.965Z] "selinux-enabled": true, [2023-02-14T18:06:20.965Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T18:06:20.965Z] } [Pipeline] sh [2023-02-14T18:06:21.323Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T18:06:21.673Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:06:40.032Z] provisioning config files... [2023-02-14T18:06:40.062Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6219307359429747636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:06:40.474Z] ---> docker-login.sh [2023-02-14T18:06:40.474Z] nexus3.edgexfoundry.org:10001 [2023-02-14T18:06:41.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:06:41.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:06:41.066Z] Configure a credential helper to remove this warning. See [2023-02-14T18:06:41.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:06:41.066Z] [2023-02-14T18:06:41.066Z] Login Succeeded [2023-02-14T18:06:41.066Z] nexus3.edgexfoundry.org:10002 [2023-02-14T18:06:41.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:06:41.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:06:41.620Z] Configure a credential helper to remove this warning. See [2023-02-14T18:06:41.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:06:41.620Z] [2023-02-14T18:06:41.620Z] Login Succeeded [2023-02-14T18:06:41.620Z] nexus3.edgexfoundry.org:10003 [2023-02-14T18:06:41.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:06:41.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:06:41.895Z] Configure a credential helper to remove this warning. See [2023-02-14T18:06:41.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:06:41.895Z] [2023-02-14T18:06:41.895Z] Login Succeeded [2023-02-14T18:06:41.895Z] nexus3.edgexfoundry.org:10004 [2023-02-14T18:06:42.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:06:42.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:06:42.443Z] Configure a credential helper to remove this warning. See [2023-02-14T18:06:42.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:06:42.443Z] [2023-02-14T18:06:42.443Z] Login Succeeded [2023-02-14T18:06:42.443Z] docker.io [2023-02-14T18:06:42.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T18:06:42.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T18:06:42.989Z] Configure a credential helper to remove this warning. See [2023-02-14T18:06:42.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T18:06:42.989Z] [2023-02-14T18:06:42.989Z] Login Succeeded [2023-02-14T18:06:42.989Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T18:06:43.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T18:06:43.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:06:43.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T18:06:43.556Z] ========================================================= [2023-02-14T18:06:43.556Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T18:06:43.556Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:06:44.059Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T18:06:44.331Z] Sending build context to Docker daemon 1.123MB [2023-02-14T18:06:44.331Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:06:44.331Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-14T18:06:44.611Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T18:06:44.611Z] 9b18e9b68314: Pulling fs layer [2023-02-14T18:06:44.611Z] 35d82f9e3411: Pulling fs layer [2023-02-14T18:06:44.611Z] e16973657156: Pulling fs layer [2023-02-14T18:06:44.611Z] fc693d55d65f: Pulling fs layer [2023-02-14T18:06:44.611Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T18:06:44.611Z] dda99020689f: Pulling fs layer [2023-02-14T18:06:44.611Z] db1c61fa0a46: Pulling fs layer [2023-02-14T18:06:44.611Z] 891c053d2c06: Pulling fs layer [2023-02-14T18:06:44.611Z] 7e9fc2657dce: Waiting [2023-02-14T18:06:44.611Z] fc693d55d65f: Waiting [2023-02-14T18:06:44.611Z] dda99020689f: Waiting [2023-02-14T18:06:44.611Z] 891c053d2c06: Waiting [2023-02-14T18:06:44.611Z] db1c61fa0a46: Waiting [2023-02-14T18:06:44.611Z] e16973657156: Verifying Checksum [2023-02-14T18:06:44.611Z] e16973657156: Download complete [2023-02-14T18:06:44.611Z] 35d82f9e3411: Verifying Checksum [2023-02-14T18:06:44.611Z] 35d82f9e3411: Download complete [2023-02-14T18:06:44.611Z] 7e9fc2657dce: Download complete [2023-02-14T18:06:44.611Z] dda99020689f: Verifying Checksum [2023-02-14T18:06:44.611Z] dda99020689f: Download complete [2023-02-14T18:06:44.611Z] 9b18e9b68314: Verifying Checksum [2023-02-14T18:06:44.611Z] 9b18e9b68314: Download complete [2023-02-14T18:06:46.071Z] 9b18e9b68314: Pull complete [2023-02-14T18:06:46.071Z] 891c053d2c06: Verifying Checksum [2023-02-14T18:06:46.071Z] 891c053d2c06: Download complete [2023-02-14T18:06:46.680Z] 35d82f9e3411: Pull complete [2023-02-14T18:06:46.960Z] e16973657156: Pull complete [2023-02-14T18:06:47.566Z] db1c61fa0a46: Verifying Checksum [2023-02-14T18:06:47.566Z] db1c61fa0a46: Download complete [2023-02-14T18:06:48.237Z] fc693d55d65f: Verifying Checksum [2023-02-14T18:06:48.237Z] fc693d55d65f: Download complete [2023-02-14T18:07:03.333Z] fc693d55d65f: Pull complete [2023-02-14T18:07:03.333Z] 7e9fc2657dce: Pull complete [2023-02-14T18:07:03.333Z] dda99020689f: Pull complete [2023-02-14T18:07:10.035Z] db1c61fa0a46: Pull complete [2023-02-14T18:07:11.459Z] 891c053d2c06: Pull complete [2023-02-14T18:07:11.459Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T18:07:11.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T18:07:11.459Z] ---> f96f9c87975a [2023-02-14T18:07:11.459Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:07:12.891Z] ---> Running in 3f7b73934dc2 [2023-02-14T18:07:12.891Z] Removing intermediate container 3f7b73934dc2 [2023-02-14T18:07:12.891Z] ---> b512d30aa1c8 [2023-02-14T18:07:12.891Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:07:13.163Z] ---> Running in 0dd8080867fe [2023-02-14T18:07:13.445Z] Removing intermediate container 0dd8080867fe [2023-02-14T18:07:13.445Z] ---> d26f41bfe9b3 [2023-02-14T18:07:13.445Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-14T18:07:13.719Z] ---> Running in b1be47db1242 [2023-02-14T18:07:13.989Z] Removing intermediate container b1be47db1242 [2023-02-14T18:07:13.989Z] ---> 93aef1fb2951 [2023-02-14T18:07:13.989Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-14T18:07:14.259Z] ---> Running in 3777872d0792 [2023-02-14T18:07:14.532Z] Removing intermediate container 3777872d0792 [2023-02-14T18:07:14.532Z] ---> 13e2ac91dc51 [2023-02-14T18:07:14.532Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:07:14.803Z] ---> Running in c11d50f7d1eb [2023-02-14T18:07:15.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:07:16.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:07:17.342Z] (1/14) Installing libintl (0.21-r2) [2023-02-14T18:07:17.342Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-14T18:07:17.342Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-14T18:07:17.342Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-14T18:07:17.342Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-14T18:07:17.342Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-14T18:07:17.623Z] Executing udev-init-scripts-35-r0.post-install [2023-02-14T18:07:17.623Z] (7/14) Installing libblkid (2.38-r1) [2023-02-14T18:07:17.623Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-14T18:07:17.623Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-14T18:07:17.623Z] (10/14) Installing kmod-libs (29-r2) [2023-02-14T18:07:17.623Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-14T18:07:17.623Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-14T18:07:17.623Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-14T18:07:17.623Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-14T18:07:17.623Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:07:17.623Z] Executing eudev-3.2.11-r0.trigger [2023-02-14T18:07:17.897Z] OK: 228 MiB in 65 packages [2023-02-14T18:07:19.336Z] Removing intermediate container c11d50f7d1eb [2023-02-14T18:07:19.336Z] ---> c6ce3a313b85 [2023-02-14T18:07:19.336Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-14T18:07:19.336Z] ---> Running in bb23b5c025b7 [2023-02-14T18:07:19.609Z] Removing intermediate container bb23b5c025b7 [2023-02-14T18:07:19.609Z] ---> 4a38de3791db [2023-02-14T18:07:19.609Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-14T18:07:20.213Z] ---> 040d6a5e7cf0 [2023-02-14T18:07:20.213Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:07:20.213Z] ---> Running in e4d00c1ee194 [2023-02-14T18:08:41.975Z] Removing intermediate container e4d00c1ee194 [2023-02-14T18:08:41.975Z] ---> d19b199ecb28 [2023-02-14T18:08:41.975Z] Step 11/13 : COPY . . [2023-02-14T18:08:41.975Z] ---> 7de914de029e [2023-02-14T18:08:41.975Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-14T18:08:41.975Z] ---> Running in 5c5a1d6f9483 [2023-02-14T18:08:41.975Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-02-14T18:08:41.975Z] Dload Upload Total Spent Left Speed [2023-02-14T18:08:41.975Z] 0 0 0 0 0 0   0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11913 0 --:--:-- --:--:-- --:--:-- 12068 [2023-02-14T18:08:41.975Z] Removing intermediate container 5c5a1d6f9483 [2023-02-14T18:08:41.975Z] ---> 7a3559383a6b [2023-02-14T18:08:41.975Z] Step 13/13 : RUN ${MAKE} [2023-02-14T18:08:41.975Z] ---> Running in c6f393ff9786 [2023-02-14T18:08:41.975Z] noop [2023-02-14T18:08:41.975Z] Removing intermediate container c6f393ff9786 [2023-02-14T18:08:41.975Z] ---> 7207f70f68d8 [2023-02-14T18:08:41.975Z] Successfully built 7207f70f68d8 [2023-02-14T18:08:41.975Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:08:42.460Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T18:08:42.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:08:42.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-5849 does not seem to be running inside a container [2023-02-14T18:08:42.814Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-14T18:08:44.115Z] $ docker top 57dd0f2c958d9ceadde841c139c6cac6a923cc476085799e4f47ddd25d5a94aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:08:45.023Z] + go version [2023-02-14T18:08:45.023Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T18:08:45.141Z] $ docker stop --time=1 57dd0f2c958d9ceadde841c139c6cac6a923cc476085799e4f47ddd25d5a94aa [2023-02-14T18:08:46.815Z] $ docker rm -f --volumes 57dd0f2c958d9ceadde841c139c6cac6a923cc476085799e4f47ddd25d5a94aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:08:47.638Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T18:08:47.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:08:47.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-5849 does not seem to be running inside a container [2023-02-14T18:08:48.024Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-14T18:08:49.293Z] $ docker top 2ffdbd7bbbfc57bf3f053e8f2e25bc6c37179dc9aecc66b05407a38e3c64f936 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:08:50.210Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T18:08:50.951Z] + make test [2023-02-14T18:08:50.951Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T18:08:52.399Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-14T18:10:44.191Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-14T18:10:44.191Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.114s coverage: 1.9% of statements [2023-02-14T18:10:44.191Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T18:10:44.191Z] go vet ./... [2023-02-14T18:11:23.125Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T18:11:23.125Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T18:11:23.125Z] ./bin/test-attribution-txt.sh [2023-02-14T18:11:23.125Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T18:11:23.125Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T18:11:23.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T18:11:23.191Z] $ docker stop --time=1 2ffdbd7bbbfc57bf3f053e8f2e25bc6c37179dc9aecc66b05407a38e3c64f936 [2023-02-14T18:11:25.067Z] $ docker rm -f --volumes 2ffdbd7bbbfc57bf3f053e8f2e25bc6c37179dc9aecc66b05407a38e3c64f936 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T18:11:26.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T18:11:26.187Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T18:11:26.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T18:11:27.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T18:11:27.737Z] + ls -al . [2023-02-14T18:11:27.737Z] total 192 [2023-02-14T18:11:27.737Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 18:08 . [2023-02-14T18:11:27.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:06 .. [2023-02-14T18:11:27.737Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 18:06 .git [2023-02-14T18:11:27.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:06 .github [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 14 18:06 .gitignore [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 18:06 .golangci.yml [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 14 18:06 .hadolint.yml [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 9442 Feb 14 18:06 Attribution.txt [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 14 18:06 CHANGELOG.md [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 14 18:06 Dockerfile [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 14 18:06 GOVERNANCE.md [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 14 18:06 Jenkinsfile [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 14 18:06 LICENSE [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 14 18:06 Makefile [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 18:06 OWNERS.md [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 14 18:06 README.md [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 18:03 VERSION [2023-02-14T18:11:27.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 18:06 bin [2023-02-14T18:11:27.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:06 cmd [2023-02-14T18:11:27.737Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 14 18:10 coverage.out [2023-02-14T18:11:27.737Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 14 18:06 docker-entrypoint.sh [2023-02-14T18:11:27.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:06 docs [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 14 18:06 go.mod [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 14 18:06 go.sum [2023-02-14T18:11:27.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 18:06 internal [2023-02-14T18:11:27.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 18:06 snap [2023-02-14T18:11:27.737Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 14 18:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:11:28.159Z] + 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=182b8f785dca06f9092802e19e138f7c14059464 --label arch=arm64 --label version=0.0.0 . [2023-02-14T18:11:28.430Z] Sending build context to Docker daemon 1.154MB [2023-02-14T18:11:28.430Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T18:11:28.430Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-14T18:11:28.430Z] ---> 7207f70f68d8 [2023-02-14T18:11:28.430Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-14T18:11:28.699Z] ---> Running in 10aa17fe3f49 [2023-02-14T18:11:28.968Z] Removing intermediate container 10aa17fe3f49 [2023-02-14T18:11:28.968Z] ---> b1541d204081 [2023-02-14T18:11:28.968Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T18:11:28.968Z] ---> Running in 10198ddd1581 [2023-02-14T18:11:29.241Z] Removing intermediate container 10198ddd1581 [2023-02-14T18:11:29.241Z] ---> bfa823a1ba7c [2023-02-14T18:11:29.241Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-14T18:11:29.510Z] ---> Running in d315c5c0b32c [2023-02-14T18:11:29.779Z] Removing intermediate container d315c5c0b32c [2023-02-14T18:11:29.779Z] ---> 18f5bebc4c5b [2023-02-14T18:11:29.779Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-14T18:11:29.779Z] ---> Running in 4df8377c8994 [2023-02-14T18:11:30.048Z] Removing intermediate container 4df8377c8994 [2023-02-14T18:11:30.048Z] ---> 470497ec1e10 [2023-02-14T18:11:30.048Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T18:11:30.319Z] ---> Running in e3618b0e38cb [2023-02-14T18:11:31.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:11:31.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:11:32.970Z] OK: 228 MiB in 65 packages [2023-02-14T18:11:33.557Z] Removing intermediate container e3618b0e38cb [2023-02-14T18:11:33.557Z] ---> 2804fecfe41d [2023-02-14T18:11:33.557Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-14T18:11:33.557Z] ---> Running in 5b9e47b1ad3d [2023-02-14T18:11:34.140Z] Removing intermediate container 5b9e47b1ad3d [2023-02-14T18:11:34.140Z] ---> 907a58fd313a [2023-02-14T18:11:34.140Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-14T18:11:34.408Z] ---> 4a2a2e90bfbf [2023-02-14T18:11:34.408Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T18:11:34.675Z] ---> Running in 235f5f464327 [2023-02-14T18:11:37.262Z] Removing intermediate container 235f5f464327 [2023-02-14T18:11:37.262Z] ---> 2e3c8a8630ee [2023-02-14T18:11:37.262Z] Step 11/35 : COPY . . [2023-02-14T18:11:38.226Z] ---> c324de156745 [2023-02-14T18:11:38.226Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-14T18:11:38.226Z] ---> Running in 9505573c1df7 [2023-02-14T18:11:39.194Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:11:39.194Z] Dload Upload Total Spent Left Speed [2023-02-14T18:11:39.194Z] 0 0  0 0 0  0  0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12374 0 --:--:-- --:--:-- --:--:-- 12494 [2023-02-14T18:11:39.798Z] Removing intermediate container 9505573c1df7 [2023-02-14T18:11:39.798Z] ---> 2e9073f0a2f9 [2023-02-14T18:11:39.798Z] Step 13/35 : RUN ${MAKE} [2023-02-14T18:11:40.067Z] ---> Running in c621fa9336e4 [2023-02-14T18:11:41.031Z] 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-02-14T18:14:02.751Z] Removing intermediate container c621fa9336e4 [2023-02-14T18:14:02.751Z] ---> c3d22b8bf096 [2023-02-14T18:14:02.751Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-14T18:14:02.751Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-14T18:14:02.751Z] eab2503cf8f4: Pulling fs layer [2023-02-14T18:14:02.751Z] 97cd0a44c592: Pulling fs layer [2023-02-14T18:14:02.751Z] 97cd0a44c592: Verifying Checksum [2023-02-14T18:14:02.751Z] 97cd0a44c592: Download complete [2023-02-14T18:14:02.751Z] eab2503cf8f4: Verifying Checksum [2023-02-14T18:14:02.751Z] eab2503cf8f4: Download complete [2023-02-14T18:14:02.751Z] eab2503cf8f4: Pull complete [2023-02-14T18:14:02.751Z] 97cd0a44c592: Pull complete [2023-02-14T18:14:02.751Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-14T18:14:02.751Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-14T18:14:02.751Z] ---> 7f763cca56b3 [2023-02-14T18:14:02.751Z] Step 15/35 : FROM alpine:3.16 [2023-02-14T18:14:02.751Z] 3.16: Pulling from library/alpine [2023-02-14T18:14:02.751Z] 3760b48202b3: Pulling fs layer [2023-02-14T18:14:02.751Z] 3760b48202b3: Verifying Checksum [2023-02-14T18:14:02.751Z] 3760b48202b3: Download complete [2023-02-14T18:14:02.751Z] 3760b48202b3: Pull complete [2023-02-14T18:14:02.751Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T18:14:02.751Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T18:14:02.751Z] ---> 4c81e5bf8899 [2023-02-14T18:14:02.751Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-14T18:14:02.751Z] ---> Running in 83e950b62eee [2023-02-14T18:14:02.751Z] Removing intermediate container 83e950b62eee [2023-02-14T18:14:02.751Z] ---> 4a016fa7655a [2023-02-14T18:14:02.751Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-14T18:14:02.751Z] ---> Running in ab9a6111052e [2023-02-14T18:14:02.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T18:14:02.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T18:14:03.016Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-02-14T18:14:03.016Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-02-14T18:14:03.016Z] (3/79) Installing libxau (1.0.9-r0) [2023-02-14T18:14:03.016Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-02-14T18:14:03.016Z] (5/79) Installing libxcb (1.15-r0) [2023-02-14T18:14:03.016Z] (6/79) Installing libx11 (1.8-r0) [2023-02-14T18:14:03.283Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-02-14T18:14:03.283Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-02-14T18:14:03.283Z] (9/79) Installing expat (2.5.0-r0) [2023-02-14T18:14:03.550Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-02-14T18:14:03.550Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-02-14T18:14:03.550Z] (12/79) Installing libpng (1.6.37-r1) [2023-02-14T18:14:03.550Z] (13/79) Installing freetype (2.12.1-r0) [2023-02-14T18:14:03.550Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-02-14T18:14:03.550Z] (15/79) Installing fribidi (1.0.12-r0) [2023-02-14T18:14:03.550Z] (16/79) Installing libffi (3.4.2-r1) [2023-02-14T18:14:03.550Z] (17/79) Installing libintl (0.21-r2) [2023-02-14T18:14:03.550Z] (18/79) Installing libblkid (2.38-r1) [2023-02-14T18:14:03.550Z] (19/79) Installing libmount (2.38-r1) [2023-02-14T18:14:03.550Z] (20/79) Installing pcre (8.45-r2) [2023-02-14T18:14:03.818Z] (21/79) Installing glib (2.72.1-r0) [2023-02-14T18:14:03.818Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-02-14T18:14:03.818Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-02-14T18:14:03.818Z] (24/79) Installing libass (0.16.0-r0) [2023-02-14T18:14:03.818Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-02-14T18:14:03.818Z] (26/79) Installing libdrm (2.4.110-r0) [2023-02-14T18:14:03.818Z] (27/79) Installing gmp (6.2.1-r2) [2023-02-14T18:14:03.818Z] (28/79) Installing nettle (3.7.3-r0) [2023-02-14T18:14:04.086Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-02-14T18:14:04.086Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-02-14T18:14:04.086Z] (31/79) Installing libunistring (1.0-r0) [2023-02-14T18:14:04.086Z] (32/79) Installing gnutls (3.7.7-r1) [2023-02-14T18:14:04.086Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-14T18:14:04.355Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-14T18:14:04.355Z] (35/79) Installing lame (3.100-r0) [2023-02-14T18:14:04.355Z] (36/79) Installing opus (1.3.1-r1) [2023-02-14T18:14:04.355Z] (37/79) Installing libasyncns (0.8-r1) [2023-02-14T18:14:04.355Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-02-14T18:14:04.355Z] (39/79) Installing libltdl (2.4.7-r0) [2023-02-14T18:14:04.355Z] (40/79) Installing orc (0.4.32-r0) [2023-02-14T18:14:04.355Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-02-14T18:14:04.355Z] (42/79) Installing libogg (1.3.5-r1) [2023-02-14T18:14:04.355Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-14T18:14:04.355Z] (44/79) Installing flac (1.3.4-r0) [2023-02-14T18:14:04.623Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-02-14T18:14:04.623Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-02-14T18:14:04.623Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-02-14T18:14:04.623Z] (48/79) Installing soxr (0.1.3-r2) [2023-02-14T18:14:04.623Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-02-14T18:14:04.623Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-02-14T18:14:04.623Z] (51/79) Installing libpulse (15.0-r2) [2023-02-14T18:14:04.623Z] (52/79) Installing cjson (1.7.15-r3) [2023-02-14T18:14:04.623Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-02-14T18:14:04.623Z] (54/79) Installing librist (0.2.6-r1) [2023-02-14T18:14:04.623Z] (55/79) Installing libsrt (1.4.4-r0) [2023-02-14T18:14:04.623Z] (56/79) Installing libssh (0.9.6-r1) [2023-02-14T18:14:04.890Z] (57/79) Installing libtheora (1.1.1-r16) [2023-02-14T18:14:04.890Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-02-14T18:14:04.890Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-02-14T18:14:04.890Z] (60/79) Installing libxext (1.3.4-r0) [2023-02-14T18:14:04.890Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-02-14T18:14:04.890Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-02-14T18:14:04.890Z] (63/79) Installing libva (2.14.0-r0) [2023-02-14T18:14:04.890Z] (64/79) Installing libvdpau (1.5-r0) [2023-02-14T18:14:04.890Z] (65/79) Installing vidstab (1.1.0-r1) [2023-02-14T18:14:04.890Z] (66/79) Installing libvpx (1.11.0-r1) [2023-02-14T18:14:04.890Z] (67/79) Installing libwebp (1.2.3-r0) [2023-02-14T18:14:04.890Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-02-14T18:14:05.160Z] (69/79) Installing numactl (2.0.14-r0) [2023-02-14T18:14:05.160Z] (70/79) Installing x265-libs (3.5-r3) [2023-02-14T18:14:05.160Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-02-14T18:14:05.160Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-02-14T18:14:05.746Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-02-14T18:14:05.746Z] (74/79) Installing udev-init-scripts (35-r0) [2023-02-14T18:14:05.746Z] Executing udev-init-scripts-35-r0.post-install [2023-02-14T18:14:05.746Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-02-14T18:14:05.746Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-02-14T18:14:05.746Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-02-14T18:14:05.746Z] (78/79) Installing kmod-libs (29-r2) [2023-02-14T18:14:05.746Z] (79/79) Installing eudev (3.2.11-r0) [2023-02-14T18:14:05.746Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T18:14:05.746Z] Executing eudev-3.2.11-r0.trigger [2023-02-14T18:14:06.014Z] OK: 77 MiB in 93 packages [2023-02-14T18:14:09.357Z] Removing intermediate container ab9a6111052e [2023-02-14T18:14:09.357Z] ---> 202f5977291b [2023-02-14T18:14:09.357Z] Step 18/35 : WORKDIR / [2023-02-14T18:14:09.357Z] ---> Running in d0d315c7a160 [2023-02-14T18:14:09.357Z] Removing intermediate container d0d315c7a160 [2023-02-14T18:14:09.357Z] ---> 16014abb7953 [2023-02-14T18:14:09.357Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-14T18:14:10.762Z] ---> 4d33f6e118fc [2023-02-14T18:14:10.762Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-14T18:14:11.142Z] ---> 8618cbcd3550 [2023-02-14T18:14:11.142Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-14T18:14:11.742Z] ---> a6849450b526 [2023-02-14T18:14:11.742Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-14T18:14:12.378Z] ---> 4415e3b1d521 [2023-02-14T18:14:12.378Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-14T18:14:12.648Z] ---> bd1d078ae20a [2023-02-14T18:14:12.648Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-14T18:14:13.244Z] ---> e4856f686df7 [2023-02-14T18:14:13.244Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-14T18:14:14.689Z] ---> 984844f65d39 [2023-02-14T18:14:14.689Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-14T18:14:14.689Z] ---> Running in 41e91d916785 [2023-02-14T18:14:16.097Z] Removing intermediate container 41e91d916785 [2023-02-14T18:14:16.097Z] ---> a7494e1995c8 [2023-02-14T18:14:16.097Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-14T18:14:16.374Z] ---> Running in fba845f8a744 [2023-02-14T18:14:17.790Z] Removing intermediate container fba845f8a744 [2023-02-14T18:14:17.790Z] ---> 7cfcc13d48e1 [2023-02-14T18:14:17.790Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-14T18:14:18.057Z] ---> Running in 97b519762e70 [2023-02-14T18:14:19.468Z] Removing intermediate container 97b519762e70 [2023-02-14T18:14:19.468Z] ---> ba2e1c399671 [2023-02-14T18:14:19.468Z] Step 29/35 : EXPOSE 59983 [2023-02-14T18:14:19.736Z] ---> Running in 227f665d0abb [2023-02-14T18:14:20.905Z] Removing intermediate container 227f665d0abb [2023-02-14T18:14:20.905Z] ---> f01a1bc92848 [2023-02-14T18:14:20.905Z] Step 30/35 : EXPOSE 8554 [2023-02-14T18:14:21.174Z] ---> Running in f4e3e309a38a [2023-02-14T18:14:21.440Z] Removing intermediate container f4e3e309a38a [2023-02-14T18:14:21.440Z] ---> 5cc5baf113a5 [2023-02-14T18:14:21.440Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-14T18:14:21.440Z] ---> Running in 21b087d73066 [2023-02-14T18:14:21.708Z] Removing intermediate container 21b087d73066 [2023-02-14T18:14:21.708Z] ---> 8168ba544f94 [2023-02-14T18:14:21.708Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-14T18:14:21.708Z] ---> Running in 8b6f352ce7e0 [2023-02-14T18:14:21.985Z] Removing intermediate container 8b6f352ce7e0 [2023-02-14T18:14:21.985Z] ---> cf9745b64f1d [2023-02-14T18:14:21.985Z] Step 33/35 : LABEL arch=arm64 [2023-02-14T18:14:22.253Z] ---> Running in cd5c1d40d2d6 [2023-02-14T18:14:22.520Z] Removing intermediate container cd5c1d40d2d6 [2023-02-14T18:14:22.520Z] ---> 9ef6b76fa492 [2023-02-14T18:14:22.520Z] Step 34/35 : LABEL git_sha=182b8f785dca06f9092802e19e138f7c14059464 [2023-02-14T18:14:22.520Z] ---> Running in 5d6863590e4e [2023-02-14T18:14:22.789Z] Removing intermediate container 5d6863590e4e [2023-02-14T18:14:22.789Z] ---> e4b48cc84dd9 [2023-02-14T18:14:22.789Z] Step 35/35 : LABEL version=0.0.0 [2023-02-14T18:14:22.789Z] ---> Running in 08d58efb7578 [2023-02-14T18:14:23.056Z] Removing intermediate container 08d58efb7578 [2023-02-14T18:14:23.056Z] ---> 2cea5b657ba8 [2023-02-14T18:14:23.056Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T18:14:23.056Z] Successfully built 2cea5b657ba8 [2023-02-14T18:14:23.056Z] 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-02-14T18:14:24.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:14:24.106Z] [2023-02-14T18:14:24.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:14:24.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:14:24.499Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T18:14:24.499Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T18:14:24.499Z] 04944245beec: Pulling fs layer [2023-02-14T18:14:24.499Z] 699f458cf7ca: Pulling fs layer [2023-02-14T18:14:24.499Z] 765212b225bb: Pulling fs layer [2023-02-14T18:14:24.499Z] f23df028b6ca: Pulling fs layer [2023-02-14T18:14:24.499Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T18:14:24.499Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T18:14:24.499Z] 765212b225bb: Waiting [2023-02-14T18:14:24.499Z] f23df028b6ca: Waiting [2023-02-14T18:14:24.499Z] d65c8cfc05b1: Waiting [2023-02-14T18:14:24.768Z] 04944245beec: Verifying Checksum [2023-02-14T18:14:24.768Z] 04944245beec: Download complete [2023-02-14T18:14:24.768Z] 765212b225bb: Verifying Checksum [2023-02-14T18:14:24.768Z] 765212b225bb: Download complete [2023-02-14T18:14:24.768Z] f23df028b6ca: Verifying Checksum [2023-02-14T18:14:24.768Z] f23df028b6ca: Download complete [2023-02-14T18:14:24.768Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T18:14:24.768Z] d65c8cfc05b1: Download complete [2023-02-14T18:14:25.035Z] 699f458cf7ca: Verifying Checksum [2023-02-14T18:14:25.036Z] 699f458cf7ca: Download complete [2023-02-14T18:14:25.303Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T18:14:25.303Z] 8998bd30e6a1: Download complete [2023-02-14T18:14:27.889Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T18:14:27.889Z] 2437ff75d9bd: Download complete [2023-02-14T18:14:29.296Z] 8998bd30e6a1: Pull complete [2023-02-14T18:14:29.562Z] 04944245beec: Pull complete [2023-02-14T18:14:30.966Z] 699f458cf7ca: Pull complete [2023-02-14T18:14:30.966Z] 765212b225bb: Pull complete [2023-02-14T18:14:31.547Z] f23df028b6ca: Pull complete [2023-02-14T18:14:31.813Z] d65c8cfc05b1: Pull complete [2023-02-14T18:14:44.107Z] 2437ff75d9bd: Pull complete [2023-02-14T18:14:44.107Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T18:14:44.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T18:14:44.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:14:44.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-5849 does not seem to be running inside a container [2023-02-14T18:14:44.498Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-14T18:14:47.837Z] $ docker top 55a2fc154cb94371cc9d94b017879a9dbe55e79c75c6dcd2dfe095419e8fae7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:14:48.739Z] ---> job-cost.sh [2023-02-14T18:14:48.739Z] lf-activate-venv: SKIPPING [2023-02-14T18:14:48.739Z] INFO: No Stack... [2023-02-14T18:14:49.007Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T18:14:49.963Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T18:14:50.302Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-02-14T18:14:50.302Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T18:14:50.384Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] [2023-02-14T18:14:50.389Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] did not exist. Created. [2023-02-14T18:14:50.389Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T18:14:51.117Z] /w/workspace/device-usb-camera/1@tmp/durable-63b513a7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T18:14:51.465Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T18:14:51.499Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T18:14:51.553Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T18:14:51.568Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T18:14:51.647Z] $ docker stop --time=1 55a2fc154cb94371cc9d94b017879a9dbe55e79c75c6dcd2dfe095419e8fae7d [2023-02-14T18:14:53.146Z] $ docker rm -f --volumes 55a2fc154cb94371cc9d94b017879a9dbe55e79c75c6dcd2dfe095419e8fae7d [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-02-14T18:14:54.111Z] provisioning config files... [2023-02-14T18:14:54.118Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-146@tmp/config14521403937456856108tmp [Pipeline] { [Pipeline] sh [2023-02-14T18:14:54.460Z] + set +x [2023-02-14T18:14:54.460Z] + curl -s https://codecov.io/bash [2023-02-14T18:14:54.460Z] + bash -s -- [2023-02-14T18:14:54.460Z] [2023-02-14T18:14:54.460Z] _____ _ [2023-02-14T18:14:54.460Z] / ____| | | [2023-02-14T18:14:54.460Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T18:14:54.460Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T18:14:54.460Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T18:14:54.460Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T18:14:54.460Z] Bash-1.0.6 [2023-02-14T18:14:54.460Z] [2023-02-14T18:14:54.460Z] [2023-02-14T18:14:54.460Z] ==> git version 2.25.1 found [2023-02-14T18:14:54.460Z] ==> 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-02-14T18:14:54.460Z] Release-Date: 2020-01-08 [2023-02-14T18:14:54.460Z] 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-02-14T18:14:54.460Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T18:14:54.460Z] ==> Jenkins CI detected. [2023-02-14T18:14:54.460Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-146 [2023-02-14T18:14:54.460Z] project root: . [2023-02-14T18:14:54.460Z] --> token set from env [2023-02-14T18:14:54.460Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T18:14:54.460Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T18:14:54.460Z] ==> Python coveragepy not found [2023-02-14T18:14:54.460Z] ==> Searching for coverage reports in: [2023-02-14T18:14:54.460Z] + . [2023-02-14T18:14:54.460Z] -> Found 1 reports [2023-02-14T18:14:54.460Z] ==> Detecting git/mercurial file structure [2023-02-14T18:14:54.460Z] ==> Reading reports [2023-02-14T18:14:54.460Z] + ./coverage.out bytes=30666 [2023-02-14T18:14:54.460Z] ==> Appending adjustments [2023-02-14T18:14:54.460Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T18:14:54.720Z] + Found adjustments [2023-02-14T18:14:54.720Z] ==> Gzipping contents [2023-02-14T18:14:54.720Z] 8.0K /tmp/codecov.f8iPC7.gz [2023-02-14T18:14:54.720Z] ==> Uploading reports [2023-02-14T18:14:54.720Z] url: https://codecov.io [2023-02-14T18:14:54.720Z] query: branch=PR-146&commit=182b8f785dca06f9092802e19e138f7c14059464&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=146&job=&cmd_args= [2023-02-14T18:14:54.720Z] -> Pinging Codecov [2023-02-14T18:14:54.720Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-146&commit=182b8f785dca06f9092802e19e138f7c14059464&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=146&job=&cmd_args= [2023-02-14T18:14:54.979Z] -> Uploading to [2023-02-14T18:14:54.979Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/73D8F5FF140700D3E01443B452E23636/182b8f785dca06f9092802e19e138f7c14059464/3e3450bd-5f73-43c7-b211-50d201577337.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T181454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=893748472ac1264537392147eba28b9fc6607f88e6af3e00b01cb3ad030a1232 [2023-02-14T18:14:54.979Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T18:14:54.979Z] Dload Upload Total Spent Left Speed [2023-02-14T18:14:55.238Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4288 0 0 100 4288 0 12538 --:--:-- --:--:-- --:--:-- 12538 [2023-02-14T18:14:55.238Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/182b8f785dca06f9092802e19e138f7c14059464 [Pipeline] } [2023-02-14T18:14:55.269Z] 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-02-14T18:14:56.936Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-146/archives ] [2023-02-14T18:14:56.936Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-146/archives [2023-02-14T18:14:56.936Z] total 16 [2023-02-14T18:14:56.936Z] drwxr-xr-x 3 root root 4096 Feb 14 18:05 . [2023-02-14T18:14:56.936Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 18:05 .. [2023-02-14T18:14:56.936Z] drwxr-xr-x 2 root root 4096 Feb 14 18:05 cost [2023-02-14T18:14:56.937Z] -rw-r--r-- 1 root root 89 Feb 14 18:05 cost.csv [2023-02-14T18:14:56.937Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-146/archives [2023-02-14T18:14:56.937Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-146/archives [2023-02-14T18:14:56.937Z] total 16 [2023-02-14T18:14:56.937Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 18:05 . [2023-02-14T18:14:56.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 18:05 .. [2023-02-14T18:14:56.937Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 18:05 cost [2023-02-14T18:14:56.937Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 14 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:14:57.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:14:58.158Z] ---> package-listing.sh [2023-02-14T18:14:58.158Z] ++ facter osfamily [2023-02-14T18:14:58.158Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T18:14:58.418Z] + OS_FAMILY=debian [2023-02-14T18:14:58.418Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-146 [2023-02-14T18:14:58.418Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T18:14:58.418Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T18:14:58.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T18:14:58.418Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T18:14:58.418Z] + '[' /w/workspace/foundry_device-usb-camera_PR-146 ']' [2023-02-14T18:14:58.418Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T18:14:58.418Z] + case "${OS_FAMILY}" in [2023-02-14T18:14:58.418Z] + dpkg -l [2023-02-14T18:14:58.418Z] + grep '^ii' [2023-02-14T18:14:58.418Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T18:14:58.418Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T18:14:58.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T18:14:58.418Z] + '[' /w/workspace/foundry_device-usb-camera_PR-146 ']' [2023-02-14T18:14:58.418Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-146/archives/ [2023-02-14T18:14:58.418Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-146/archives/ [Pipeline] echo [2023-02-14T18:14:58.453Z] 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T18:14:58.746Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T18:14:59.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T18:14:59.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T18:14:59.516Z] prd-ubuntu20.04-docker-8c-8g-5843 does not seem to be running inside a container [2023-02-14T18:14:59.549Z] $ 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-146/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-146 -v /w/workspace/foundry_device-usb-camera_PR-146:/w/workspace/foundry_device-usb-camera_PR-146:rw,z -v /w/workspace/foundry_device-usb-camera_PR-146@tmp:/w/workspace/foundry_device-usb-camera_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T18:14:59.752Z] $ docker top c1280112c1bc076ea4c82362199b8ac7e1aa1d8020f61be74164ac17540ab5a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T18:15:00.144Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T18:15:00.460Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T18:15:00.769Z] + ls /var/log/sa-host [2023-02-14T18:15:00.769Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T18:15:00.900Z] provisioning config files... [2023-02-14T18:15:00.910Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-146@tmp/config14875982589712892425tmp [Pipeline] { [Pipeline] echo [2023-02-14T18:15:00.959Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:15:01.277Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T18:15:01.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:15:01.697Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T18:15:01.729Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:15:02.040Z] ---> sudo-logs.sh [2023-02-14T18:15:02.040Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T18:15:02.124Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:15:02.436Z] ---> job-cost.sh [2023-02-14T18:15:02.436Z] lf-activate-venv: SKIPPING [2023-02-14T18:15:02.436Z] DEBUG: total: 0.2199999988079071 [2023-02-14T18:15:02.436Z] INFO: Retrieving Stack Cost... [2023-02-14T18:15:03.005Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T18:15:03.265Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T18:15:03.300Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T18:15:03.619Z] ---> logs-deploy.sh [2023-02-14T18:15:03.619Z] lf-activate-venv: SKIPPING [2023-02-14T18:15:03.619Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-146/1 [2023-02-14T18:15:03.619Z] INFO: archiving workspace using pattern(s): [2023-02-14T18:15:04.559Z] Archives upload complete. [2023-02-14T18:15:04.820Z] INFO: archiving logs to Nexus