Pull request #354 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d15d3953b1a126ac165e9fd14e526d0e613e04bc+ee0554b78990b186605d5e81a70b84bcc651ad1c (d1c5d953101cf186bfa78a141d75524e0c5c466d) 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-ssh11161418002612871896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh12998094549999842648.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-354/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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6903772977968708612.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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2620404169841151961.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh11714960291721032359.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-354/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-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15400643367740505657.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22076 in /w/workspace/foundry_device-usb-camera_PR-354 [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-354 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ee0554b78990b186605d5e81a70b84bcc651ad1c into PR head commit d15d3953b1a126ac165e9fd14e526d0e613e04bc Merge succeeded, producing d15d3953b1a126ac165e9fd14e526d0e613e04bc Checking out Revision d15d3953b1a126ac165e9fd14e526d0e613e04bc (PR-354) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f d15d3953b1a126ac165e9fd14e526d0e613e04bc # 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 ee0554b78990b186605d5e81a70b84bcc651ad1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d15d3953b1a126ac165e9fd14e526d0e613e04bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T17:44:29.879Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T17:44:30.098Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T17:44:30.217Z] ========================================================= [2024-10-07T17:44:30.217Z] EdgeX Global Pipelines Version Info [2024-10-07T17:44:30.217Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:44:30.975Z] ------------------- [2024-10-07T17:44:30.975Z] stable info: [2024-10-07T17:44:30.975Z] ------------------- [2024-10-07T17:44:30.975Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T17:44:30.975Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T17:44:30.975Z] Message: update stable to v1.0.265 [2024-10-07T17:44:31.545Z] ------------------- [2024-10-07T17:44:31.545Z] experimental info: [2024-10-07T17:44:31.545Z] ------------------- [2024-10-07T17:44:31.546Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T17:44:31.546Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T17:44:31.546Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T17:44:31.770Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-10-07T17:44:31.832Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-10-07T17:44:31.895Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T17:44:31.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T17:44:32.007Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T17:44:32.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T17:44:32.118Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T17:44:32.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-07T17:44:32.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T17:44:32.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T17:44:32.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T17:44:32.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-10-07T17:44:32.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T17:44:32.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T17:44:32.562Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T17:44:32.619Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T17:44:32.680Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T17:44:32.738Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T17:44:32.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T17:44:32.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T17:44:32.915Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-07T17:44:32.981Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-07T17:44:33.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T17:44:33.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T17:44:33.154Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T17:44:33.211Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T17:44:33.268Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T17:44:33.323Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo [2024-10-07T17:44:33.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo [2024-10-07T17:44:33.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo [2024-10-07T17:44:33.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d15d3953b1a126ac165e9fd14e526d0e613e04bc [Pipeline] echo [2024-10-07T17:44:33.553Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d15d395 [Pipeline] echo [2024-10-07T17:44:33.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T17:44:33.765Z] provisioning config files... [2024-10-07T17:44:33.779Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-354@tmp/config81325999705258036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:44:34.171Z] ---> ****-login.sh [2024-10-07T17:44:34.171Z] nexus3.edgexfoundry.org:10001 [2024-10-07T17:44:34.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:34.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:34.693Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:34.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:34.693Z] [2024-10-07T17:44:34.693Z] Login Succeeded [2024-10-07T17:44:34.693Z] nexus3.edgexfoundry.org:10002 [2024-10-07T17:44:34.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:34.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:34.693Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:34.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:34.693Z] [2024-10-07T17:44:34.693Z] Login Succeeded [2024-10-07T17:44:34.693Z] nexus3.edgexfoundry.org:10003 [2024-10-07T17:44:34.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:34.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:34.693Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:34.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:34.693Z] [2024-10-07T17:44:34.693Z] Login Succeeded [2024-10-07T17:44:34.693Z] nexus3.edgexfoundry.org:10004 [2024-10-07T17:44:34.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:34.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:34.954Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:34.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:34.954Z] [2024-10-07T17:44:34.954Z] Login Succeeded [2024-10-07T17:44:34.954Z] ****.io [2024-10-07T17:44:34.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:35.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:35.214Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:35.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:35.214Z] [2024-10-07T17:44:35.214Z] Login Succeeded [2024-10-07T17:44:35.214Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T17:44:35.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T17:44:35.979Z] + git rev-list -1 --merges d15d3953b1a126ac165e9fd14e526d0e613e04bc~1..d15d3953b1a126ac165e9fd14e526d0e613e04bc [Pipeline] echo [2024-10-07T17:44:36.039Z] -----------> git rev-list -1 --merges d15d3953b1a126ac165e9fd14e526d0e613e04bc~1..d15d3953b1a126ac165e9fd14e526d0e613e04bc d15d3953b1a126ac165e9fd14e526d0e613e04bc [false] [Pipeline] sh [2024-10-07T17:44:36.364Z] + git log --format=format:%s -1 d15d3953b1a126ac165e9fd14e526d0e613e04bc [Pipeline] echo [2024-10-07T17:44:36.406Z] ========================================================= [2024-10-07T17:44:36.406Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T17:44:36.406Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T17:44:36.882Z] + git log --format=format:%s -1 d15d3953b1a126ac165e9fd14e526d0e613e04bc [Pipeline] echo [2024-10-07T17:44:36.922Z] [semverPrep] GIT_COMMIT: d15d3953b1a126ac165e9fd14e526d0e613e04bc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-07T17:44:36.971Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T17:44:37.391Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T17:44:37.391Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T17:44:37.391Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T17:44:37.391Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T17:44:37.391Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T17:44:37.391Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T17:44:37.391Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:44:37.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T17:44:37.895Z] [2024-10-07T17:44:37.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:44:38.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T17:44:38.307Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T17:44:38.307Z] b85a868b505f: Pulling fs layer [2024-10-07T17:44:38.307Z] e2be974225ed: Pulling fs layer [2024-10-07T17:44:38.307Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T17:44:38.307Z] 988bab9f4d93: Pulling fs layer [2024-10-07T17:44:38.307Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T17:44:38.307Z] eaf3925da568: Pulling fs layer [2024-10-07T17:44:38.307Z] bab4dde63d76: Pulling fs layer [2024-10-07T17:44:38.307Z] bde34c3a00c8: Pulling fs layer [2024-10-07T17:44:38.307Z] b352a97aabf1: Pulling fs layer [2024-10-07T17:44:38.307Z] 4872d77fe225: Pulling fs layer [2024-10-07T17:44:38.307Z] 5851b861e8e6: Pulling fs layer [2024-10-07T17:44:38.307Z] 988bab9f4d93: Waiting [2024-10-07T17:44:38.307Z] b352a97aabf1: Waiting [2024-10-07T17:44:38.307Z] 4872d77fe225: Waiting [2024-10-07T17:44:38.307Z] 5851b861e8e6: Waiting [2024-10-07T17:44:38.307Z] 1469e6f7b9e6: Waiting [2024-10-07T17:44:38.307Z] eaf3925da568: Waiting [2024-10-07T17:44:38.307Z] bde34c3a00c8: Waiting [2024-10-07T17:44:38.307Z] bab4dde63d76: Waiting [2024-10-07T17:44:38.307Z] e2be974225ed: Download complete [2024-10-07T17:44:38.307Z] 988bab9f4d93: Download complete [2024-10-07T17:44:38.307Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T17:44:38.307Z] 1469e6f7b9e6: Download complete [2024-10-07T17:44:38.307Z] eaf3925da568: Verifying Checksum [2024-10-07T17:44:38.307Z] eaf3925da568: Download complete [2024-10-07T17:44:38.307Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T17:44:38.307Z] 339a4e72a1f5: Download complete [2024-10-07T17:44:38.569Z] bde34c3a00c8: Download complete [2024-10-07T17:44:38.569Z] b352a97aabf1: Download complete [2024-10-07T17:44:38.569Z] 4872d77fe225: Download complete [2024-10-07T17:44:38.569Z] 5851b861e8e6: Verifying Checksum [2024-10-07T17:44:38.569Z] 5851b861e8e6: Download complete [2024-10-07T17:44:38.569Z] b85a868b505f: Verifying Checksum [2024-10-07T17:44:38.569Z] b85a868b505f: Download complete [2024-10-07T17:44:38.829Z] bab4dde63d76: Verifying Checksum [2024-10-07T17:44:38.829Z] bab4dde63d76: Download complete [2024-10-07T17:44:40.208Z] b85a868b505f: Pull complete [2024-10-07T17:44:40.208Z] e2be974225ed: Pull complete [2024-10-07T17:44:40.471Z] 339a4e72a1f5: Pull complete [2024-10-07T17:44:40.732Z] 988bab9f4d93: Pull complete [2024-10-07T17:44:40.993Z] 1469e6f7b9e6: Pull complete [2024-10-07T17:44:40.993Z] eaf3925da568: Pull complete [2024-10-07T17:44:42.899Z] bab4dde63d76: Pull complete [2024-10-07T17:44:42.899Z] bde34c3a00c8: Pull complete [2024-10-07T17:44:43.158Z] b352a97aabf1: Pull complete [2024-10-07T17:44:43.158Z] 4872d77fe225: Pull complete [2024-10-07T17:44:43.418Z] 5851b861e8e6: Pull complete [2024-10-07T17:44:43.418Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T17:44:43.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T17:44:43.418Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:44:43.726Z] prd-ubuntu20.04-docker-8c-8g-22076 does not seem to be running inside a container [2024-10-07T17:44:43.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-354 -v /w/workspace/foundry_device-usb-camera_PR-354:/w/workspace/foundry_device-usb-camera_PR-354:rw,z -v /w/workspace/foundry_device-usb-camera_PR-354@tmp:/w/workspace/foundry_device-usb-camera_PR-354@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 [2024-10-07T17:44:47.221Z] $ docker top d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 -eo pid,comm [2024-10-07T17:44:47.284Z] 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). [2024-10-07T17:44:47.284Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T17:44:47.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T17:44:47.462Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T17:44:47.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T17:44:47.569Z] $ docker exec d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 ssh-agent [2024-10-07T17:44:47.682Z] SSH_AUTH_SOCK=/tmp/ssh-0ylxTIkEAHZj/agent.32 [2024-10-07T17:44:47.682Z] SSH_AGENT_PID=38 [2024-10-07T17:44:47.690Z] Running ssh-add (command line suppressed) [2024-10-07T17:44:47.784Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-354@tmp/private_key_3217676261255543695.key (/w/workspace/foundry_device-usb-camera_PR-354@tmp/private_key_3217676261255543695.key) [2024-10-07T17:44:47.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T17:44:48.150Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T17:44:48.177Z] $ docker exec --env ******** --env ******** d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 ssh-agent -k [2024-10-07T17:44:48.286Z] unset SSH_AUTH_SOCK; [2024-10-07T17:44:48.286Z] unset SSH_AGENT_PID; [2024-10-07T17:44:48.286Z] echo Agent pid 38 killed; [2024-10-07T17:44:48.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T17:44:48.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T17:44:48.411Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T17:44:48.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T17:44:48.525Z] $ docker exec d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 ssh-agent [2024-10-07T17:44:48.647Z] SSH_AUTH_SOCK=/tmp/ssh-lpRuivAAaEp1/agent.71 [2024-10-07T17:44:48.647Z] SSH_AGENT_PID=77 [2024-10-07T17:44:48.651Z] Running ssh-add (command line suppressed) [2024-10-07T17:44:48.757Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-354@tmp/private_key_8993957795785143175.key (/w/workspace/foundry_device-usb-camera_PR-354@tmp/private_key_8993957795785143175.key) [2024-10-07T17:44:48.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T17:44:49.115Z] + git semver init [2024-10-07T17:44:49.376Z] 2024-10-07 17:44:49,320 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T17:44:49.376Z] 2024-10-07 17:44:49,321 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-354/.semver [2024-10-07T17:44:49.376Z] 2024-10-07 17:44:49,321 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-354/.semver [2024-10-07T17:44:49.376Z] 2024-10-07 17:44:49,322 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-354/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-354, universal_newlines=False, shell=None, istream=None) [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,899 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-354/.git/info/exclude [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-354/.semver/PR-354 with force:False [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,900 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-354/.semver/PR-354 [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,905 [execute] INFO git cat-file --batch-check [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-354/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,911 [execute] INFO git cat-file --batch [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-354/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T17:44:51.288Z] 2024-10-07 17:44:50,916 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-354/.semver/PR-354 [2024-10-07T17:44:51.288Z] 0.0.0 [Pipeline] } [2024-10-07T17:44:51.317Z] $ docker exec --env ******** --env ******** d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 ssh-agent -k [2024-10-07T17:44:51.416Z] unset SSH_AUTH_SOCK; [2024-10-07T17:44:51.417Z] unset SSH_AGENT_PID; [2024-10-07T17:44:51.418Z] echo Agent pid 77 killed; [2024-10-07T17:44:51.427Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T17:44:51.889Z] + git semver [Pipeline] } [2024-10-07T17:44:52.176Z] $ docker stop --time=1 d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 [2024-10-07T17:44:53.474Z] $ docker rm -f --volumes d49b303782e360c204c0ceace1d288ecfd96adec71aa41c657571fa03c4c0f59 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T17:44:53.903Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T17:44:54.224Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T17:44:54.249Z] [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 [2024-10-07T17:44:54.947Z] provisioning config files... [2024-10-07T17:44:54.957Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-354@tmp/config16918997337099057705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:44:55.346Z] ---> ****-login.sh [2024-10-07T17:44:55.346Z] nexus3.edgexfoundry.org:10001 [2024-10-07T17:44:55.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:55.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:55.347Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:55.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:55.347Z] [2024-10-07T17:44:55.347Z] Login Succeeded [2024-10-07T17:44:55.347Z] nexus3.edgexfoundry.org:10002 [2024-10-07T17:44:55.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:55.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:55.347Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:55.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:55.347Z] [2024-10-07T17:44:55.347Z] Login Succeeded [2024-10-07T17:44:55.347Z] nexus3.edgexfoundry.org:10003 [2024-10-07T17:44:55.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:55.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:55.662Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:55.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:55.662Z] [2024-10-07T17:44:55.662Z] Login Succeeded [2024-10-07T17:44:55.662Z] nexus3.edgexfoundry.org:10004 [2024-10-07T17:44:55.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:55.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:55.662Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:55.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:55.662Z] [2024-10-07T17:44:55.662Z] Login Succeeded [2024-10-07T17:44:55.662Z] ****.io [2024-10-07T17:44:55.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:44:55.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:44:55.920Z] Configure a credential helper to remove this warning. See [2024-10-07T17:44:55.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:44:55.920Z] [2024-10-07T17:44:55.920Z] Login Succeeded [2024-10-07T17:44:55.920Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T17:44:55.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T17:44:56.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T17:44:56.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T17:44:56.299Z] ========================================================= [2024-10-07T17:44:56.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T17:44:56.299Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:44:56.818Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-07T17:44:56.818Z] Sending build context to Docker daemon 20.62MB [2024-10-07T17:44:56.818Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T17:44:56.818Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-07T17:44:57.092Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T17:44:57.092Z] 43c4264eed91: Pulling fs layer [2024-10-07T17:44:57.092Z] 4cc291be95ef: Pulling fs layer [2024-10-07T17:44:57.092Z] 2ac1f1163629: Pulling fs layer [2024-10-07T17:44:57.092Z] 5c3c966382ef: Pulling fs layer [2024-10-07T17:44:57.092Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T17:44:57.092Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T17:44:57.092Z] 9f66e0745190: Pulling fs layer [2024-10-07T17:44:57.092Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T17:44:57.092Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T17:44:57.092Z] f49a43e4bbc0: Waiting [2024-10-07T17:44:57.092Z] 5c3c966382ef: Waiting [2024-10-07T17:44:57.092Z] 9f66e0745190: Waiting [2024-10-07T17:44:57.092Z] 4f4fb700ef54: Waiting [2024-10-07T17:44:57.092Z] 5d5c8e513c77: Waiting [2024-10-07T17:44:57.092Z] 561ebcabdf7f: Waiting [2024-10-07T17:44:57.092Z] 4cc291be95ef: Verifying Checksum [2024-10-07T17:44:57.092Z] 4cc291be95ef: Download complete [2024-10-07T17:44:57.092Z] 5c3c966382ef: Verifying Checksum [2024-10-07T17:44:57.092Z] 5c3c966382ef: Download complete [2024-10-07T17:44:57.092Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T17:44:57.092Z] 4f4fb700ef54: Download complete [2024-10-07T17:44:57.092Z] 5d5c8e513c77: Download complete [2024-10-07T17:44:57.092Z] 43c4264eed91: Download complete [2024-10-07T17:44:57.092Z] 9f66e0745190: Verifying Checksum [2024-10-07T17:44:57.092Z] 9f66e0745190: Download complete [2024-10-07T17:44:57.357Z] 561ebcabdf7f: Verifying Checksum [2024-10-07T17:44:57.358Z] 561ebcabdf7f: Download complete [2024-10-07T17:44:57.358Z] 43c4264eed91: Pull complete [2024-10-07T17:44:57.616Z] 2ac1f1163629: Verifying Checksum [2024-10-07T17:44:57.616Z] 2ac1f1163629: Download complete [2024-10-07T17:44:57.616Z] 4cc291be95ef: Pull complete [2024-10-07T17:44:57.875Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T17:44:57.876Z] f49a43e4bbc0: Download complete [2024-10-07T17:45:02.072Z] 2ac1f1163629: Pull complete [2024-10-07T17:45:02.072Z] 5c3c966382ef: Pull complete [2024-10-07T17:45:02.072Z] 4f4fb700ef54: Pull complete [2024-10-07T17:45:02.072Z] 5d5c8e513c77: Pull complete [2024-10-07T17:45:02.072Z] 9f66e0745190: Pull complete [2024-10-07T17:45:03.976Z] f49a43e4bbc0: Pull complete [2024-10-07T17:45:04.545Z] 561ebcabdf7f: Pull complete [2024-10-07T17:45:04.545Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T17:45:04.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T17:45:04.545Z] ---> 3a752c3f9dda [2024-10-07T17:45:04.545Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-07T17:45:09.733Z] Still waiting to schedule task [2024-10-07T17:45:09.733Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-07T17:45:09.829Z] ---> Running in b4f7f60e333d [2024-10-07T17:45:09.829Z] Removing intermediate container b4f7f60e333d [2024-10-07T17:45:09.829Z] ---> f56cee8f4e9e [2024-10-07T17:45:09.829Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T17:45:09.829Z] ---> Running in e7f4d9587cd2 [2024-10-07T17:45:09.829Z] Removing intermediate container e7f4d9587cd2 [2024-10-07T17:45:09.829Z] ---> 7dcba1051de5 [2024-10-07T17:45:09.829Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-07T17:45:09.829Z] ---> Running in 17e94ff10b99 [2024-10-07T17:45:09.829Z] Removing intermediate container 17e94ff10b99 [2024-10-07T17:45:09.829Z] ---> b8de65b00c3f [2024-10-07T17:45:09.829Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-07T17:45:10.090Z] ---> Running in dcdeced144d2 [2024-10-07T17:45:10.090Z] Removing intermediate container dcdeced144d2 [2024-10-07T17:45:10.090Z] ---> 9d5312b89020 [2024-10-07T17:45:10.090Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T17:45:10.090Z] ---> Running in 0c0de247327a [2024-10-07T17:45:10.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T17:45:10.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T17:45:10.920Z] (1/14) Installing libintl (0.22.5-r0) [2024-10-07T17:45:10.920Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-10-07T17:45:10.920Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-10-07T17:45:10.920Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-10-07T17:45:10.920Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-10-07T17:45:10.920Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-10-07T17:45:10.920Z] (7/14) Installing udev-init-scripts (35-r1) [2024-10-07T17:45:10.920Z] (8/14) Installing libeconf (0.6.3-r0) [2024-10-07T17:45:10.920Z] (9/14) Installing libblkid (2.40.1-r1) [2024-10-07T17:45:10.920Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-10-07T17:45:10.920Z] (11/14) Installing kmod-libs (32-r0) [2024-10-07T17:45:10.920Z] (12/14) Installing eudev (3.2.14-r2) [2024-10-07T17:45:10.920Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-10-07T17:45:10.920Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-10-07T17:45:10.920Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T17:45:10.920Z] Executing eudev-3.2.14-r2.trigger [2024-10-07T17:45:10.920Z] OK: 253 MiB in 68 packages [2024-10-07T17:45:11.489Z] Removing intermediate container 0c0de247327a [2024-10-07T17:45:11.489Z] ---> a4194e61b68f [2024-10-07T17:45:11.489Z] Step 8/13 : WORKDIR /device-usb-camera [2024-10-07T17:45:11.489Z] ---> Running in 49c925cd122b [2024-10-07T17:45:11.748Z] Removing intermediate container 49c925cd122b [2024-10-07T17:45:11.748Z] ---> 9e838d879921 [2024-10-07T17:45:11.748Z] Step 9/13 : COPY go.mod vendor* ./ [2024-10-07T17:45:11.748Z] ---> 856ccbe308fb [2024-10-07T17:45:11.748Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T17:45:11.748Z] ---> Running in 8549b5397b6d [2024-10-07T17:46:19.722Z] Removing intermediate container 8549b5397b6d [2024-10-07T17:46:19.722Z] ---> 1ceff606453c [2024-10-07T17:46:19.722Z] Step 11/13 : COPY . . [2024-10-07T17:46:19.722Z] ---> 7c8d7035b38c [2024-10-07T17:46:19.722Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-07T17:46:19.722Z] ---> Running in ec987e618f4e [2024-10-07T17:46:19.722Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T17:46:19.722Z] Dload Upload Total Spent Left Speed [2024-10-07T17:46:19.722Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9010 0 --:--:-- --:--:-- --:--:-- 9076 [2024-10-07T17:46:19.722Z] Removing intermediate container ec987e618f4e [2024-10-07T17:46:19.722Z] ---> ee3e35f96d8e [2024-10-07T17:46:19.722Z] Step 13/13 : RUN ${MAKE} [2024-10-07T17:46:19.722Z] ---> Running in 86f5677428f9 [2024-10-07T17:46:19.722Z] noop [2024-10-07T17:46:19.722Z] Removing intermediate container 86f5677428f9 [2024-10-07T17:46:19.722Z] ---> 46565ebc0ea4 [2024-10-07T17:46:19.722Z] Successfully built 46565ebc0ea4 [2024-10-07T17:46:19.722Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:46:20.211Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T17:46:20.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:46:20.381Z] prd-ubuntu20.04-docker-8c-8g-22076 does not seem to be running inside a container [2024-10-07T17:46:20.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-354 -v /w/workspace/foundry_device-usb-camera_PR-354:/w/workspace/foundry_device-usb-camera_PR-354:rw,z -v /w/workspace/foundry_device-usb-camera_PR-354@tmp:/w/workspace/foundry_device-usb-camera_PR-354@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 [2024-10-07T17:46:20.757Z] $ docker top b9b9d66be73f6a0bcbe1469cd86707b2d80aa0eed41498e9ede36203480747bb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T17:46:21.171Z] + go version [2024-10-07T17:46:21.171Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T17:46:21.209Z] $ docker stop --time=1 b9b9d66be73f6a0bcbe1469cd86707b2d80aa0eed41498e9ede36203480747bb [2024-10-07T17:46:22.474Z] $ docker rm -f --volumes b9b9d66be73f6a0bcbe1469cd86707b2d80aa0eed41498e9ede36203480747bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:46:23.260Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T17:46:23.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:46:23.432Z] prd-ubuntu20.04-docker-8c-8g-22076 does not seem to be running inside a container [2024-10-07T17:46:23.462Z] $ 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-354 -v /w/workspace/foundry_device-usb-camera_PR-354:/w/workspace/foundry_device-usb-camera_PR-354:rw,z -v /w/workspace/foundry_device-usb-camera_PR-354@tmp:/w/workspace/foundry_device-usb-camera_PR-354@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 [2024-10-07T17:46:23.805Z] $ docker top 90160976be27c100112742e6e9da76d5a4beca0691c5c65274b8d5ff744e902d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T17:46:24.197Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-354 [Pipeline] fileExists [Pipeline] sh [2024-10-07T17:46:24.573Z] + make test [2024-10-07T17:46:24.573Z] go test ./... -coverprofile=coverage.out ./... [2024-10-07T17:46:26.500Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-10-07T17:46:43.274Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22077 in /w/workspace/foundry_device-usb-camera_PR-354 [Pipeline] { [Pipeline] ws [2024-10-07T17:46:43.354Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-07T17:46:46.465Z] Selected Git installation does not exist. Using Default [2024-10-07T17:46:46.465Z] The recommended git tool is: NONE [2024-10-07T17:46:48.630Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-10-07T17:46:48.630Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 4.4% of statements [2024-10-07T17:46:55.615Z] using credential edgex-jenkins-ssh [2024-10-07T17:46:55.646Z] Cloning the remote Git repository [2024-10-07T17:46:55.775Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-10-07T17:46:56.012Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2024-10-07T17:46:56.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-10-07T17:46:56.273Z] > git --version # timeout=10 [2024-10-07T17:46:56.355Z] > git --version # 'git version 2.25.1' [2024-10-07T17:46:56.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T17:46:56.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T17:46:58.594Z] go vet ./... [2024-10-07T17:46:59.469Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-10-07T17:46:59.500Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T17:47:01.195Z] Merging remotes/origin/main commit ee0554b78990b186605d5e81a70b84bcc651ad1c into PR head commit d15d3953b1a126ac165e9fd14e526d0e613e04bc [2024-10-07T17:47:01.499Z] Merge succeeded, producing d15d3953b1a126ac165e9fd14e526d0e613e04bc [2024-10-07T17:47:01.500Z] Checking out Revision d15d3953b1a126ac165e9fd14e526d0e613e04bc (PR-354) [2024-10-07T17:47:00.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-10-07T17:47:00.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-10-07T17:47:00.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T17:47:00.646Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T17:47:01.213Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T17:47:01.303Z] > git checkout -f d15d3953b1a126ac165e9fd14e526d0e613e04bc # timeout=10 [2024-10-07T17:47:01.401Z] > git remote # timeout=10 [2024-10-07T17:47:01.420Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T17:47:01.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T17:47:01.459Z] > git merge ee0554b78990b186605d5e81a70b84bcc651ad1c # timeout=10 [2024-10-07T17:47:01.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T17:47:01.505Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T17:47:01.517Z] > git checkout -f d15d3953b1a126ac165e9fd14e526d0e613e04bc # timeout=10 [2024-10-07T17:47:01.985Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-07T17:47:02.039Z] > git --version # timeout=10 [2024-10-07T17:47:02.050Z] > git --version # 'git version 2.25.1' [2024-10-07T17:47:02.068Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T17:47:03.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T17:47:03.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T17:47:03.860Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T17:47:03.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T17:47:03.951Z] $ docker stop --time=1 90160976be27c100112742e6e9da76d5a4beca0691c5c65274b8d5ff744e902d [2024-10-07T17:47:09.164Z] $ docker rm -f --volumes 90160976be27c100112742e6e9da76d5a4beca0691c5c65274b8d5ff744e902d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-10-07T17:47:09.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-10-07T17:47:10.120Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-07T17:47:10.353Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T17:47:10.353Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T17:47:10.353Z] Dload Upload Total Spent Left Speed [2024-10-07T17:47:10.353Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 77277 0 --:--:-- --:--:-- --:--:-- 77745 [Pipeline] sh [2024-10-07T17:47:10.697Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh [2024-10-07T17:47:11.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T17:47:11.115Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-10-07T17:47:11.115Z] sudo tee /etc/docker/daemon.new [2024-10-07T17:47:11.115Z] { [2024-10-07T17:47:11.115Z] "registry-mirrors": [ [2024-10-07T17:47:11.115Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T17:47:11.115Z] ], [2024-10-07T17:47:11.115Z] "bip": "10.250.0.254/24", [2024-10-07T17:47:11.115Z] "hosts": [ [2024-10-07T17:47:11.115Z] "tcp://0.0.0.0:5555", [2024-10-07T17:47:11.115Z] "unix:///var/run/docker.sock" [2024-10-07T17:47:11.115Z] ], [2024-10-07T17:47:11.115Z] "mtu": 1458, [2024-10-07T17:47:11.115Z] "selinux-enabled": true, [2024-10-07T17:47:11.115Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T17:47:11.115Z] } [Pipeline] sh [2024-10-07T17:47:11.316Z] + ls -al . [2024-10-07T17:47:11.316Z] total 300 [2024-10-07T17:47:11.316Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 17:46 . [2024-10-07T17:47:11.316Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 17:44 .. [2024-10-07T17:47:11.316Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 17:46 .git [2024-10-07T17:47:11.316Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 17:44 .github [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 7 17:44 .gitignore [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 203 Oct 7 17:44 .golangci.yml [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 7 17:44 .hadolint.yml [2024-10-07T17:47:11.316Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 17:44 .semver [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 19367 Oct 7 17:44 Attribution.txt [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 16561 Oct 7 17:44 CHANGELOG.md [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 2453 Oct 7 17:44 Dockerfile [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 17:44 GOVERNANCE.md [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 7 17:44 Jenkinsfile [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 17:44 LICENSE [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 2611 Oct 7 17:44 Makefile [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 7 17:44 OWNERS.md [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 2575 Oct 7 17:44 README.md [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 17:44 VERSION [2024-10-07T17:47:11.316Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 17:44 bin [2024-10-07T17:47:11.316Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 17:44 cmd [2024-10-07T17:47:11.316Z] -rw-r--r-- 1 jenkins jenkins 54772 Oct 7 17:46 coverage.out [2024-10-07T17:47:11.316Z] -rwxrwxr-x 1 jenkins jenkins 84 Oct 7 17:44 docker-entrypoint.sh [2024-10-07T17:47:11.316Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 17:44 docs [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 7182 Oct 7 17:44 go.mod [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 100524 Oct 7 17:44 go.sum [2024-10-07T17:47:11.316Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 17:44 internal [2024-10-07T17:47:11.316Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 7 17:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:47:11.453Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T17:47:11.732Z] + 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=d15d3953b1a126ac165e9fd14e526d0e613e04bc --label arch=amd64 --label version=0.0.0 . [2024-10-07T17:47:11.732Z] Sending build context to Docker daemon 20.68MB [2024-10-07T17:47:11.732Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T17:47:11.732Z] Step 2/37 : FROM ${BASE} AS builder [2024-10-07T17:47:11.732Z] ---> 46565ebc0ea4 [2024-10-07T17:47:11.732Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-10-07T17:47:11.856Z] + sudo service docker restart [2024-10-07T17:47:12.301Z] ---> Running in 1707288bc2ad [2024-10-07T17:47:12.301Z] Removing intermediate container 1707288bc2ad [2024-10-07T17:47:12.301Z] ---> 385297de5eed [2024-10-07T17:47:12.301Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T17:47:12.301Z] ---> Running in bccfead2e30f [2024-10-07T17:47:12.301Z] Removing intermediate container bccfead2e30f [2024-10-07T17:47:12.301Z] ---> 01b5fbeb3ad1 [2024-10-07T17:47:12.301Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-07T17:47:12.301Z] ---> Running in 713b5c694068 [2024-10-07T17:47:12.301Z] Removing intermediate container 713b5c694068 [2024-10-07T17:47:12.301Z] ---> 5e3c313ebb2d [2024-10-07T17:47:12.301Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-07T17:47:12.301Z] ---> Running in 5db9750fb95e [2024-10-07T17:47:12.561Z] Removing intermediate container 5db9750fb95e [2024-10-07T17:47:12.561Z] ---> ede0b4819102 [2024-10-07T17:47:12.561Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T17:47:12.561Z] ---> Running in 5002eb9d1843 [2024-10-07T17:47:12.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T17:47:12.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T17:47:13.393Z] OK: 253 MiB in 68 packages [2024-10-07T17:47:13.653Z] Removing intermediate container 5002eb9d1843 [2024-10-07T17:47:13.653Z] ---> 5bac77c48c5a [2024-10-07T17:47:13.653Z] Step 8/37 : WORKDIR /device-usb-camera [2024-10-07T17:47:13.653Z] ---> Running in 4892fe3c18dc [2024-10-07T17:47:13.653Z] Removing intermediate container 4892fe3c18dc [2024-10-07T17:47:13.653Z] ---> 08b75c2698f5 [2024-10-07T17:47:13.653Z] Step 9/37 : COPY go.mod vendor* ./ [2024-10-07T17:47:13.653Z] ---> 7ecec5ba74d9 [2024-10-07T17:47:13.653Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T17:47:13.914Z] ---> Running in 1f17954f7873 [2024-10-07T17:47:14.483Z] Removing intermediate container 1f17954f7873 [2024-10-07T17:47:14.483Z] ---> 6cfb84fc0fe5 [2024-10-07T17:47:14.483Z] Step 11/37 : COPY . . [2024-10-07T17:47:15.423Z] ---> ee2d8ea5c101 [2024-10-07T17:47:15.423Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-07T17:47:15.423Z] ---> Running in e12e8f83fb9e [2024-10-07T17:47:15.686Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T17:47:15.686Z] Dload Upload Total Spent Left Speed [2024-10-07T17:47:15.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45431 0 --:--:-- --:--:-- --:--:-- 46173 [2024-10-07T17:47:15.945Z] Removing intermediate container e12e8f83fb9e [2024-10-07T17:47:15.945Z] ---> d2c8d4f560c0 [2024-10-07T17:47:15.945Z] Step 13/37 : RUN ${MAKE} [2024-10-07T17:47:15.945Z] ---> Running in cfe14e94d32d [2024-10-07T17:47:16.205Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T17:47:28.974Z] provisioning config files... [2024-10-07T17:47:29.005Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config15179271156678259747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:47:29.528Z] ---> ****-login.sh [2024-10-07T17:47:29.528Z] nexus3.edgexfoundry.org:10001 [2024-10-07T17:47:29.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:47:30.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:47:30.073Z] Configure a credential helper to remove this warning. See [2024-10-07T17:47:30.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:47:30.073Z] [2024-10-07T17:47:30.073Z] Login Succeeded [2024-10-07T17:47:30.073Z] nexus3.edgexfoundry.org:10002 [2024-10-07T17:47:30.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:47:30.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:47:30.608Z] Configure a credential helper to remove this warning. See [2024-10-07T17:47:30.608Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:47:30.608Z] [2024-10-07T17:47:30.608Z] Login Succeeded [2024-10-07T17:47:30.608Z] nexus3.edgexfoundry.org:10003 [2024-10-07T17:47:30.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:47:30.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:47:30.891Z] Configure a credential helper to remove this warning. See [2024-10-07T17:47:30.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:47:30.891Z] [2024-10-07T17:47:30.891Z] Login Succeeded [2024-10-07T17:47:30.891Z] nexus3.edgexfoundry.org:10004 [2024-10-07T17:47:31.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:47:31.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:47:31.162Z] Configure a credential helper to remove this warning. See [2024-10-07T17:47:31.162Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:47:31.162Z] [2024-10-07T17:47:31.162Z] Login Succeeded [2024-10-07T17:47:31.162Z] ****.io [2024-10-07T17:47:31.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T17:47:31.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T17:47:31.704Z] Configure a credential helper to remove this warning. See [2024-10-07T17:47:31.705Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T17:47:31.705Z] [2024-10-07T17:47:31.705Z] Login Succeeded [2024-10-07T17:47:31.705Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T17:47:31.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T17:47:32.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T17:47:32.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T17:47:32.322Z] ========================================================= [2024-10-07T17:47:32.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T17:47:32.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:47:33.956Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-07T17:47:33.956Z] Sending build context to Docker daemon 10.58MB [2024-10-07T17:47:33.956Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T17:47:33.956Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-07T17:47:38.337Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T17:47:38.337Z] cf04c63912e1: Pulling fs layer [2024-10-07T17:47:38.337Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T17:47:38.337Z] a37a00ec5f00: Pulling fs layer [2024-10-07T17:47:38.337Z] 50b3750afda1: Pulling fs layer [2024-10-07T17:47:38.337Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T17:47:38.337Z] 80978eb59214: Pulling fs layer [2024-10-07T17:47:38.337Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T17:47:38.337Z] 4f4fb700ef54: Waiting [2024-10-07T17:47:38.337Z] 50b3750afda1: Waiting [2024-10-07T17:47:38.337Z] 80978eb59214: Waiting [2024-10-07T17:47:38.337Z] c9f46d7d2bd2: Waiting [2024-10-07T17:47:38.337Z] c5a475d317c9: Pulling fs layer [2024-10-07T17:47:38.337Z] 55b35a11ae5e: Verifying Checksum [2024-10-07T17:47:38.337Z] 55b35a11ae5e: Download complete [2024-10-07T17:47:38.337Z] 50b3750afda1: Download complete [2024-10-07T17:47:38.337Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T17:47:38.337Z] 4f4fb700ef54: Download complete [2024-10-07T17:47:38.337Z] 80978eb59214: Verifying Checksum [2024-10-07T17:47:38.337Z] 80978eb59214: Download complete [2024-10-07T17:47:38.337Z] cf04c63912e1: Verifying Checksum [2024-10-07T17:47:38.337Z] cf04c63912e1: Download complete [2024-10-07T17:47:38.603Z] c5a475d317c9: Verifying Checksum [2024-10-07T17:47:38.603Z] c5a475d317c9: Download complete [2024-10-07T17:47:39.194Z] cf04c63912e1: Pull complete [2024-10-07T17:47:39.795Z] 55b35a11ae5e: Pull complete [2024-10-07T17:47:40.417Z] a37a00ec5f00: Verifying Checksum [2024-10-07T17:47:40.417Z] a37a00ec5f00: Download complete [2024-10-07T17:47:41.003Z] c9f46d7d2bd2: Verifying Checksum [2024-10-07T17:47:41.003Z] c9f46d7d2bd2: Download complete [2024-10-07T17:47:56.034Z] a37a00ec5f00: Pull complete [2024-10-07T17:47:56.034Z] 50b3750afda1: Pull complete [2024-10-07T17:47:56.034Z] 4f4fb700ef54: Pull complete [2024-10-07T17:47:56.034Z] 80978eb59214: Pull complete [2024-10-07T17:47:58.081Z] Removing intermediate container cfe14e94d32d [2024-10-07T17:47:58.082Z] ---> b6db86df6721 [2024-10-07T17:47:58.082Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-10-07T17:47:58.082Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-10-07T17:47:58.082Z] 8411072a22a5: Pulling fs layer [2024-10-07T17:47:58.082Z] 8411072a22a5: Verifying Checksum [2024-10-07T17:47:58.082Z] 8411072a22a5: Download complete [2024-10-07T17:47:58.082Z] 8411072a22a5: Pull complete [2024-10-07T17:47:58.082Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-10-07T17:47:58.082Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-10-07T17:47:58.082Z] ---> 1ac78cb06e13 [2024-10-07T17:47:58.082Z] Step 15/37 : FROM alpine:3.20 [2024-10-07T17:47:58.082Z] 3.20: Pulling from library/alpine [2024-10-07T17:47:58.082Z] 43c4264eed91: Already exists [2024-10-07T17:47:58.082Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T17:47:58.082Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T17:47:58.082Z] ---> 91ef0af61f39 [2024-10-07T17:47:58.082Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-07T17:47:58.082Z] ---> Running in a416b750f21f [2024-10-07T17:47:58.082Z] Removing intermediate container a416b750f21f [2024-10-07T17:47:58.082Z] ---> e1bb8bbed345 [2024-10-07T17:47:58.082Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-10-07T17:47:58.082Z] ---> Running in 3ed6bc3767db [2024-10-07T17:47:58.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T17:47:58.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T17:47:58.082Z] (1/115) Installing dumb-init (1.2.5-r3) [2024-10-07T17:47:58.082Z] (2/115) Installing libSvtAv1Enc (2.0.0-r1) [2024-10-07T17:47:58.082Z] (3/115) Installing aom-libs (3.9.1-r0) [2024-10-07T17:47:58.082Z] (4/115) Installing libxau (1.0.11-r4) [2024-10-07T17:47:58.082Z] (5/115) Installing libmd (1.1.0-r0) [2024-10-07T17:47:58.082Z] (6/115) Installing libbsd (0.12.2-r0) [2024-10-07T17:47:58.082Z] (7/115) Installing libxdmcp (1.1.5-r1) [2024-10-07T17:47:58.082Z] (8/115) Installing libxcb (1.16.1-r0) [2024-10-07T17:47:58.082Z] (9/115) Installing libx11 (1.8.9-r1) [2024-10-07T17:47:58.082Z] (10/115) Installing hwdata-pci (0.382-r0) [2024-10-07T17:47:58.082Z] (11/115) Installing libpciaccess (0.18.1-r0) [2024-10-07T17:47:58.082Z] (12/115) Installing libdrm (2.4.120-r0) [2024-10-07T17:47:58.082Z] (13/115) Installing libxext (1.3.6-r2) [2024-10-07T17:47:58.082Z] (14/115) Installing libxfixes (6.0.1-r4) [2024-10-07T17:47:58.082Z] (15/115) Installing libffi (3.4.6-r0) [2024-10-07T17:47:58.082Z] (16/115) Installing wayland-libs-client (1.22.0-r4) [2024-10-07T17:47:58.082Z] (17/115) Installing libva (2.21.0-r0) [2024-10-07T17:47:58.082Z] (18/115) Installing libvdpau (1.5-r3) [2024-10-07T17:47:58.082Z] (19/115) Installing libgcc (13.2.1_git20240309-r0) [2024-10-07T17:47:58.082Z] (20/115) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-07T17:47:58.082Z] (21/115) Installing onevpl-libs (2023.3.1-r2) [2024-10-07T17:47:58.082Z] (22/115) Installing ffmpeg-libavutil (6.1.1-r8) [2024-10-07T17:47:58.082Z] (23/115) Installing libdav1d (1.4.2-r0) [2024-10-07T17:47:58.082Z] (24/115) Installing openexr-libiex (3.1.13-r1) [2024-10-07T17:47:58.082Z] (25/115) Installing openexr-libilmthread (3.1.13-r1) [2024-10-07T17:47:58.082Z] (26/115) Installing imath (3.1.12-r0) [2024-10-07T17:47:58.082Z] (27/115) Installing openexr-libopenexr (3.1.13-r1) [2024-10-07T17:47:58.082Z] (28/115) Installing brotli-libs (1.1.0-r2) [2024-10-07T17:47:58.082Z] (29/115) Installing giflib (5.2.2-r0) [2024-10-07T17:47:58.082Z] (30/115) Installing libhwy (1.0.7-r0) [2024-10-07T17:47:58.082Z] (31/115) Installing libjpeg-turbo (3.0.3-r0) [2024-10-07T17:47:58.082Z] (32/115) Installing lcms2 (2.16-r0) [2024-10-07T17:47:58.082Z] (33/115) Installing libpng (1.6.44-r0) [2024-10-07T17:47:58.082Z] (34/115) Installing libjxl (0.10.2-r0) [2024-10-07T17:47:58.082Z] (35/115) Installing lame-libs (3.100-r5) [2024-10-07T17:47:58.082Z] (36/115) Installing opus (1.5.2-r0) [2024-10-07T17:47:58.082Z] (37/115) Installing rav1e-libs (0.7.1-r0) [2024-10-07T17:47:58.082Z] (38/115) Installing libgomp (13.2.1_git20240309-r0) [2024-10-07T17:47:58.082Z] (39/115) Installing soxr (0.1.3-r7) [2024-10-07T17:47:58.082Z] (40/115) Installing ffmpeg-libswresample (6.1.1-r8) [2024-10-07T17:47:58.082Z] (41/115) Installing libogg (1.3.5-r5) [2024-10-07T17:47:58.082Z] (42/115) Installing libtheora (1.1.1-r18) [2024-10-07T17:47:58.082Z] (43/115) Installing libvorbis (1.3.7-r2) [2024-10-07T17:47:58.082Z] (44/115) Installing libvpx (1.14.1-r0) [2024-10-07T17:47:58.082Z] (45/115) Installing libsharpyuv (1.3.2-r0) [2024-10-07T17:47:58.082Z] (46/115) Installing libwebp (1.3.2-r0) [2024-10-07T17:47:58.082Z] (47/115) Installing libwebpmux (1.3.2-r0) [2024-10-07T17:47:58.082Z] (48/115) Installing x264-libs (0.164_git20231001-r0) [2024-10-07T17:47:58.082Z] (49/115) Installing numactl (2.0.18-r0) [2024-10-07T17:47:58.082Z] (50/115) Installing x265-libs (3.6-r0) [2024-10-07T17:47:58.082Z] (51/115) Installing xvidcore (1.3.7-r2) [2024-10-07T17:47:58.082Z] (52/115) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-10-07T17:47:58.082Z] (53/115) Installing sdl2 (2.28.5-r1) [2024-10-07T17:47:58.082Z] (54/115) Installing alsa-lib (1.2.11-r0) [2024-10-07T17:47:58.082Z] (55/115) Installing libexpat (2.6.3-r0) [2024-10-07T17:47:58.082Z] (56/115) Installing libbz2 (1.0.8-r6) [2024-10-07T17:47:58.082Z] (57/115) Installing freetype (2.13.2-r0) [2024-10-07T17:47:58.082Z] (58/115) Installing fontconfig (2.15.0-r1) [2024-10-07T17:47:58.082Z] (59/115) Installing fribidi (1.0.15-r0) [2024-10-07T17:47:58.082Z] (60/115) Installing libintl (0.22.5-r0) [2024-10-07T17:47:58.082Z] (61/115) Installing libeconf (0.6.3-r0) [2024-10-07T17:47:58.082Z] (62/115) Installing libblkid (2.40.1-r1) [2024-10-07T17:47:58.082Z] (63/115) Installing libmount (2.40.1-r1) [2024-10-07T17:47:58.082Z] (64/115) Installing pcre2 (10.43-r0) [2024-10-07T17:47:58.082Z] (65/115) Installing glib (2.80.5-r0) [2024-10-07T17:47:58.082Z] (66/115) Installing graphite2 (1.3.14-r6) [2024-10-07T17:47:58.082Z] (67/115) Installing harfbuzz (8.5.0-r0) [2024-10-07T17:47:58.082Z] (68/115) Installing libunibreak (6.1-r0) [2024-10-07T17:47:58.082Z] (69/115) Installing libass (0.17.2-r0) [2024-10-07T17:47:58.082Z] (70/115) Installing libbluray (1.3.4-r1) [2024-10-07T17:47:58.082Z] (71/115) Installing mpg123-libs (1.32.6-r0) [2024-10-07T17:47:58.082Z] (72/115) Installing libopenmpt (0.7.7-r0) [2024-10-07T17:47:58.082Z] (73/115) Installing cjson (1.7.18-r0) [2024-10-07T17:47:58.082Z] (74/115) Installing mbedtls (3.6.1-r0) [2024-10-07T17:47:58.082Z] (75/115) Installing librist (0.2.10-r1) [2024-10-07T17:47:58.082Z] (76/115) Installing libsrt (1.5.3-r0) [2024-10-07T17:47:58.082Z] (77/115) Installing libssh (0.10.6-r0) [2024-10-07T17:47:58.082Z] (78/115) Installing xz-libs (5.6.2-r0) [2024-10-07T17:47:58.082Z] (79/115) Installing libxml2 (2.12.7-r0) [2024-10-07T17:47:58.082Z] (80/115) Installing libsodium (1.0.19-r0) [2024-10-07T17:47:58.082Z] (81/115) Installing libzmq (4.3.5-r2) [2024-10-07T17:47:58.082Z] (82/115) Installing ffmpeg-libavformat (6.1.1-r8) [2024-10-07T17:47:58.082Z] (83/115) Installing serd-libs (0.32.2-r0) [2024-10-07T17:47:58.082Z] (84/115) Installing zix-libs (0.4.2-r0) [2024-10-07T17:47:58.082Z] (85/115) Installing sord-libs (0.16.16-r0) [2024-10-07T17:47:58.082Z] (86/115) Installing sratom (0.6.16-r0) [2024-10-07T17:47:58.082Z] (87/115) Installing lilv-libs (0.24.24-r1) [2024-10-07T17:47:58.082Z] (88/115) Installing glslang-libs (1.3.261.1-r0) [2024-10-07T17:47:58.082Z] (89/115) Installing libdovi (3.3.0-r0) [2024-10-07T17:47:58.082Z] (90/115) Installing spirv-tools (1.3.261.1-r0) [2024-10-07T17:47:58.082Z] (91/115) Installing shaderc (2024.0-r0) [2024-10-07T17:47:58.082Z] (92/115) Installing vulkan-loader (1.3.261.1-r0) [2024-10-07T17:47:58.082Z] (93/115) Installing libplacebo (6.338.2-r1) [2024-10-07T17:47:58.082Z] (94/115) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-10-07T17:47:58.082Z] (95/115) Installing ffmpeg-libswscale (6.1.1-r8) [2024-10-07T17:47:58.082Z] (96/115) Installing vidstab (1.1.1-r0) [2024-10-07T17:47:58.082Z] (97/115) Installing zimg (3.0.5-r2) [2024-10-07T17:47:58.082Z] (98/115) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-10-07T17:47:58.082Z] (99/115) Installing libasyncns (0.8-r3) [2024-10-07T17:47:58.082Z] (100/115) Installing dbus-libs (1.14.10-r1) [2024-10-07T17:47:58.082Z] (101/115) Installing libltdl (2.4.7-r3) [2024-10-07T17:47:58.082Z] (102/115) Installing orc (0.4.39-r0) [2024-10-07T17:47:58.082Z] (103/115) Installing libflac (1.4.3-r1) [2024-10-07T17:47:58.082Z] (104/115) Installing libsndfile (1.2.2-r0) [2024-10-07T17:47:58.082Z] (105/115) Installing speexdsp (1.2.1-r2) [2024-10-07T17:47:58.082Z] (106/115) Installing tdb-libs (1.4.9-r1) [2024-10-07T17:47:58.082Z] (107/115) Installing libpulse (17.0-r0) [2024-10-07T17:47:58.082Z] (108/115) Installing v4l-utils-libs (1.24.1-r1) [2024-10-07T17:47:58.082Z] (109/115) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-10-07T17:47:58.082Z] (110/115) Installing ffmpeg (6.1.1-r8) [2024-10-07T17:47:58.082Z] (111/115) Installing udev-init-scripts (35-r1) [2024-10-07T17:47:58.082Z] (112/115) Installing eudev-libs (3.2.14-r2) [2024-10-07T17:47:58.082Z] (113/115) Installing zstd-libs (1.5.6-r0) [2024-10-07T17:47:58.082Z] (114/115) Installing kmod-libs (32-r0) [2024-10-07T17:47:58.082Z] (115/115) Installing eudev (3.2.14-r2) [2024-10-07T17:47:58.082Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T17:47:58.082Z] Executing glib-2.80.5-r0.trigger [2024-10-07T17:47:58.082Z] Executing eudev-3.2.14-r2.trigger [2024-10-07T17:47:58.082Z] OK: 134 MiB in 129 packages [2024-10-07T17:48:02.703Z] c9f46d7d2bd2: Pull complete [2024-10-07T17:48:04.648Z] Removing intermediate container 3ed6bc3767db [2024-10-07T17:48:04.648Z] ---> a7005e3a0790 [2024-10-07T17:48:04.648Z] Step 18/37 : RUN apk --no-cache upgrade [2024-10-07T17:48:04.648Z] ---> Running in a4d2cda3e4b3 [2024-10-07T17:48:04.656Z] c5a475d317c9: Pull complete [2024-10-07T17:48:04.656Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T17:48:04.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T17:48:04.656Z] ---> be29e6b0f0d4 [2024-10-07T17:48:04.656Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-07T17:48:05.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T17:48:05.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T17:48:05.478Z] Upgrading critical system libraries and apk-tools: [2024-10-07T17:48:05.478Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T17:48:05.478Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T17:48:05.478Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T17:48:05.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T17:48:05.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T17:48:05.997Z] OK: 134 MiB in 129 packages [2024-10-07T17:48:06.081Z] ---> Running in 582af7fd7fc8 [2024-10-07T17:48:06.348Z] Removing intermediate container 582af7fd7fc8 [2024-10-07T17:48:06.348Z] ---> 43902d900431 [2024-10-07T17:48:06.348Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T17:48:06.348Z] ---> Running in 11938d30b513 [2024-10-07T17:48:06.567Z] Removing intermediate container a4d2cda3e4b3 [2024-10-07T17:48:06.567Z] ---> 39357384dad6 [2024-10-07T17:48:06.567Z] Step 19/37 : WORKDIR / [2024-10-07T17:48:06.567Z] ---> Running in a9f27e805385 [2024-10-07T17:48:06.567Z] Removing intermediate container a9f27e805385 [2024-10-07T17:48:06.567Z] ---> e25960763b94 [2024-10-07T17:48:06.567Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-10-07T17:48:06.640Z] Removing intermediate container 11938d30b513 [2024-10-07T17:48:06.640Z] ---> b21bca435dc0 [2024-10-07T17:48:06.640Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-07T17:48:06.640Z] ---> Running in 64f5bee25530 [2024-10-07T17:48:06.915Z] Removing intermediate container 64f5bee25530 [2024-10-07T17:48:06.915Z] ---> a484ed9b129d [2024-10-07T17:48:06.915Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-07T17:48:07.183Z] ---> Running in 88f7b765ce8e [2024-10-07T17:48:07.452Z] Removing intermediate container 88f7b765ce8e [2024-10-07T17:48:07.452Z] ---> e58704672e4a [2024-10-07T17:48:07.452Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T17:48:07.452Z] ---> Running in 0dc94c3f34e7 [2024-10-07T17:48:07.954Z] ---> 4aaa1dd6304c [2024-10-07T17:48:07.954Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-10-07T17:48:07.954Z] ---> fd9e5793033f [2024-10-07T17:48:07.954Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-10-07T17:48:07.954Z] ---> 763c29cb27b5 [2024-10-07T17:48:07.954Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-10-07T17:48:07.954Z] ---> eafaf4f308b4 [2024-10-07T17:48:07.954Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-10-07T17:48:08.217Z] ---> b5f11a004712 [2024-10-07T17:48:08.217Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-10-07T17:48:08.217Z] ---> 93f7c07b1055 [2024-10-07T17:48:08.217Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-10-07T17:48:08.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T17:48:08.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T17:48:09.290Z] ---> fe4517441d0c [2024-10-07T17:48:09.290Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-10-07T17:48:09.290Z] ---> Running in 555e9fe6b903 [2024-10-07T17:48:09.859Z] Removing intermediate container 555e9fe6b903 [2024-10-07T17:48:09.859Z] ---> c8dc1b6f78a3 [2024-10-07T17:48:09.859Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-10-07T17:48:09.859Z] ---> Running in 4005a848c13a [2024-10-07T17:48:10.278Z] (1/14) Installing libintl (0.22.5-r0) [2024-10-07T17:48:10.278Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-10-07T17:48:10.278Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-10-07T17:48:10.278Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-10-07T17:48:10.278Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-10-07T17:48:10.278Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-10-07T17:48:10.278Z] (7/14) Installing udev-init-scripts (35-r1) [2024-10-07T17:48:10.278Z] (8/14) Installing libeconf (0.6.3-r0) [2024-10-07T17:48:10.278Z] (9/14) Installing libblkid (2.40.1-r1) [2024-10-07T17:48:10.278Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-10-07T17:48:10.278Z] (11/14) Installing kmod-libs (32-r0) [2024-10-07T17:48:10.278Z] (12/14) Installing eudev (3.2.14-r2) [2024-10-07T17:48:10.278Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-10-07T17:48:10.427Z] Removing intermediate container 4005a848c13a [2024-10-07T17:48:10.427Z] ---> 5bc13bc5205a [2024-10-07T17:48:10.427Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-10-07T17:48:10.427Z] ---> Running in 70ac407ebb15 [2024-10-07T17:48:10.542Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-10-07T17:48:10.542Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T17:48:10.542Z] Executing eudev-3.2.14-r2.trigger [2024-10-07T17:48:10.542Z] OK: 246 MiB in 68 packages [2024-10-07T17:48:11.372Z] Removing intermediate container 70ac407ebb15 [2024-10-07T17:48:11.372Z] ---> 377640a0e322 [2024-10-07T17:48:11.372Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-10-07T17:48:11.372Z] ---> Running in 84a1291db370 [2024-10-07T17:48:11.937Z] Removing intermediate container 84a1291db370 [2024-10-07T17:48:11.937Z] ---> 3ece8257e121 [2024-10-07T17:48:11.937Z] Step 31/37 : EXPOSE 59983 [2024-10-07T17:48:11.937Z] ---> Running in d4242da5246c [2024-10-07T17:48:11.945Z] Removing intermediate container 0dc94c3f34e7 [2024-10-07T17:48:11.945Z] ---> c2df90a1ddd3 [2024-10-07T17:48:11.945Z] Step 8/13 : WORKDIR /device-usb-camera [2024-10-07T17:48:11.945Z] ---> Running in 95d1a236ad4d [2024-10-07T17:48:12.196Z] Removing intermediate container d4242da5246c [2024-10-07T17:48:12.196Z] ---> 992bba7e9b3d [2024-10-07T17:48:12.196Z] Step 32/37 : EXPOSE 8554 [2024-10-07T17:48:12.196Z] ---> Running in baffde102bf8 [2024-10-07T17:48:12.196Z] Removing intermediate container baffde102bf8 [2024-10-07T17:48:12.196Z] ---> 20f0a68057ee [2024-10-07T17:48:12.196Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-10-07T17:48:12.196Z] ---> Running in f6d994ece758 [2024-10-07T17:48:12.196Z] Removing intermediate container f6d994ece758 [2024-10-07T17:48:12.196Z] ---> b00aa48485b5 [2024-10-07T17:48:12.196Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-10-07T17:48:12.196Z] ---> Running in 8600464363b1 [2024-10-07T17:48:12.215Z] Removing intermediate container 95d1a236ad4d [2024-10-07T17:48:12.215Z] ---> 78f819654d8c [2024-10-07T17:48:12.215Z] Step 9/13 : COPY go.mod vendor* ./ [2024-10-07T17:48:12.455Z] Removing intermediate container 8600464363b1 [2024-10-07T17:48:12.455Z] ---> 6043ac8f8b28 [2024-10-07T17:48:12.455Z] Step 35/37 : LABEL arch=amd64 [2024-10-07T17:48:12.455Z] ---> Running in a634f885b4a9 [2024-10-07T17:48:12.455Z] Removing intermediate container a634f885b4a9 [2024-10-07T17:48:12.455Z] ---> 4bf3d0565540 [2024-10-07T17:48:12.455Z] Step 36/37 : LABEL git_sha=d15d3953b1a126ac165e9fd14e526d0e613e04bc [2024-10-07T17:48:12.455Z] ---> Running in 2c49cffa5ed8 [2024-10-07T17:48:12.455Z] Removing intermediate container 2c49cffa5ed8 [2024-10-07T17:48:12.455Z] ---> 8a8ec3cc2617 [2024-10-07T17:48:12.455Z] Step 37/37 : LABEL version=0.0.0 [2024-10-07T17:48:12.455Z] ---> Running in 89782e8f2052 [2024-10-07T17:48:12.714Z] Removing intermediate container 89782e8f2052 [2024-10-07T17:48:12.714Z] ---> 22d4015bcdb4 [2024-10-07T17:48:12.714Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T17:48:12.714Z] Successfully built 22d4015bcdb4 [2024-10-07T17:48:12.714Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [2024-10-07T17:48:12.805Z] ---> 6bf822113688 [2024-10-07T17:48:12.805Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T17:48:12.805Z] ---> Running in 129a8f965423 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:48:13.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T17:48:13.776Z] [2024-10-07T17:48:13.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:48:14.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T17:48:14.178Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T17:48:14.178Z] 5eb5b503b376: Pulling fs layer [2024-10-07T17:48:14.178Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T17:48:14.178Z] ec43610c2a17: Pulling fs layer [2024-10-07T17:48:14.178Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T17:48:14.178Z] 33b1e0a273af: Pulling fs layer [2024-10-07T17:48:14.178Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T17:48:14.178Z] 2f39f015ded8: Pulling fs layer [2024-10-07T17:48:14.178Z] 33b1e0a273af: Waiting [2024-10-07T17:48:14.178Z] 5d3b04190fa2: Waiting [2024-10-07T17:48:14.178Z] 3a2ae6a8a46f: Waiting [2024-10-07T17:48:14.178Z] 2f39f015ded8: Waiting [2024-10-07T17:48:14.178Z] 5c69ac0246d0: Download complete [2024-10-07T17:48:14.178Z] 3a2ae6a8a46f: Download complete [2024-10-07T17:48:14.178Z] 33b1e0a273af: Verifying Checksum [2024-10-07T17:48:14.178Z] 33b1e0a273af: Download complete [2024-10-07T17:48:14.178Z] 5d3b04190fa2: Download complete [2024-10-07T17:48:14.178Z] ec43610c2a17: Verifying Checksum [2024-10-07T17:48:14.178Z] ec43610c2a17: Download complete [2024-10-07T17:48:14.436Z] 5eb5b503b376: Verifying Checksum [2024-10-07T17:48:14.436Z] 5eb5b503b376: Download complete [2024-10-07T17:48:15.003Z] 2f39f015ded8: Download complete [2024-10-07T17:48:15.573Z] 5eb5b503b376: Pull complete [2024-10-07T17:48:15.573Z] 5c69ac0246d0: Pull complete [2024-10-07T17:48:16.139Z] ec43610c2a17: Pull complete [2024-10-07T17:48:16.139Z] 3a2ae6a8a46f: Pull complete [2024-10-07T17:48:16.404Z] 33b1e0a273af: Pull complete [2024-10-07T17:48:16.404Z] 5d3b04190fa2: Pull complete [2024-10-07T17:48:20.587Z] 2f39f015ded8: Pull complete [2024-10-07T17:48:20.587Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T17:48:20.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T17:48:20.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:48:20.859Z] prd-ubuntu20.04-docker-8c-8g-22076 does not seem to be running inside a container [2024-10-07T17:48:20.891Z] $ 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-354 -v /w/workspace/foundry_device-usb-camera_PR-354:/w/workspace/foundry_device-usb-camera_PR-354:rw,z -v /w/workspace/foundry_device-usb-camera_PR-354@tmp:/w/workspace/foundry_device-usb-camera_PR-354@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 [2024-10-07T17:48:28.157Z] $ docker top b11dd52bfcbf6ea2b285381e1b17679def0c920741c5f0343cef7ecadd893dca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:48:28.649Z] ---> job-cost.sh [2024-10-07T17:48:28.650Z] lf-activate-venv: SKIPPING [2024-10-07T17:48:28.650Z] INFO: No Stack... [2024-10-07T17:48:28.912Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T17:48:29.172Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T17:48:29.499Z] + cat /w/workspace/foundry_device-usb-camera_PR-354/archives/cost.csv [2024-10-07T17:48:29.499Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T17:48:29.562Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] [2024-10-07T17:48:29.571Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] did not exist. Created. [2024-10-07T17:48:29.577Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T17:48:29.998Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T17:48:30.057Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T17:48:30.101Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T17:48:30.205Z] $ docker stop --time=1 b11dd52bfcbf6ea2b285381e1b17679def0c920741c5f0343cef7ecadd893dca [2024-10-07T17:48:31.349Z] $ docker rm -f --volumes b11dd52bfcbf6ea2b285381e1b17679def0c920741c5f0343cef7ecadd893dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T17:50:04.613Z] Removing intermediate container 129a8f965423 [2024-10-07T17:50:04.613Z] ---> 242ed931e628 [2024-10-07T17:50:04.613Z] Step 11/13 : COPY . . [2024-10-07T17:50:04.613Z] ---> 2689b174a9b2 [2024-10-07T17:50:04.613Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-07T17:50:04.613Z] ---> Running in ae0665935b80 [2024-10-07T17:50:04.613Z]  % Total % Received % Xferd Average Speed Time Time Time  Current [2024-10-07T17:50:04.613Z]   Dload Upload Total Spent Left Speed [2024-10-07T17:50:04.613Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2725 0 --:--:-- --:--:-- --:--:-- 2744 [2024-10-07T17:50:04.613Z] Removing intermediate container ae0665935b80 [2024-10-07T17:50:04.613Z] ---> 9d4df1b07b51 [2024-10-07T17:50:04.613Z] Step 13/13 : RUN ${MAKE} [2024-10-07T17:50:04.613Z] ---> Running in 6c933d05a86e [2024-10-07T17:50:04.613Z] noop [2024-10-07T17:50:04.613Z] Removing intermediate container 6c933d05a86e [2024-10-07T17:50:04.613Z] ---> 9d37c902f9dd [2024-10-07T17:50:04.613Z] Successfully built 9d37c902f9dd [2024-10-07T17:50:04.613Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:50:05.116Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T17:50:05.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:50:05.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-22077 does not seem to be running inside a container [2024-10-07T17:50:05.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T17:50:06.668Z] $ docker top 9bf57f3518bdf7d6ef3e87cd4a365d41237041d57feec8660561193f67be2d98 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T17:50:07.564Z] + go version [2024-10-07T17:50:07.564Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T17:50:07.597Z] $ docker stop --time=1 9bf57f3518bdf7d6ef3e87cd4a365d41237041d57feec8660561193f67be2d98 [2024-10-07T17:50:09.244Z] $ docker rm -f --volumes 9bf57f3518bdf7d6ef3e87cd4a365d41237041d57feec8660561193f67be2d98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:50:10.179Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T17:50:10.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:50:10.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-22077 does not seem to be running inside a container [2024-10-07T17:50:10.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T17:50:11.727Z] $ docker top 4e0ece2c106b2f7289f75fea9c59534854dbafece0392318d3196a8598dd7ff6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T17:50:12.614Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-07T17:50:13.339Z] + make test [2024-10-07T17:50:13.339Z] go test ./... -coverprofile=coverage.out ./... [2024-10-07T17:50:18.684Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-10-07T17:53:40.548Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-10-07T17:53:47.268Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.059s coverage: 4.4% of statements [2024-10-07T17:53:47.268Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T17:53:47.268Z] go vet ./... [2024-10-07T17:54:34.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T17:54:34.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T17:54:34.138Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T17:54:34.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T17:54:34.800Z] $ docker stop --time=1 4e0ece2c106b2f7289f75fea9c59534854dbafece0392318d3196a8598dd7ff6 [2024-10-07T17:54:36.675Z] $ docker rm -f --volumes 4e0ece2c106b2f7289f75fea9c59534854dbafece0392318d3196a8598dd7ff6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T17:54:38.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T17:54:38.445Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T17:54:38.951Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T17:54:39.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T17:54:39.938Z] + ls -al . [2024-10-07T17:54:39.938Z] total 296 [2024-10-07T17:54:39.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 17:50 . [2024-10-07T17:54:39.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 17:46 .. [2024-10-07T17:54:39.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 17:47 .git [2024-10-07T17:54:39.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 17:47 .github [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 7 17:47 .gitignore [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 203 Oct 7 17:47 .golangci.yml [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 7 17:47 .hadolint.yml [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 19367 Oct 7 17:47 Attribution.txt [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 16561 Oct 7 17:47 CHANGELOG.md [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 2453 Oct 7 17:47 Dockerfile [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 17:47 GOVERNANCE.md [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 7 17:47 Jenkinsfile [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 17:47 LICENSE [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 2611 Oct 7 17:47 Makefile [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 7 17:47 OWNERS.md [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 2575 Oct 7 17:47 README.md [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 17:44 VERSION [2024-10-07T17:54:39.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 17:47 bin [2024-10-07T17:54:39.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 17:47 cmd [2024-10-07T17:54:39.938Z] -rw-r--r-- 1 jenkins jenkins 54772 Oct 7 17:53 coverage.out [2024-10-07T17:54:39.938Z] -rwxrwxr-x 1 jenkins jenkins 84 Oct 7 17:47 docker-entrypoint.sh [2024-10-07T17:54:39.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 17:47 docs [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 7182 Oct 7 17:47 go.mod [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 100524 Oct 7 17:47 go.sum [2024-10-07T17:54:39.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 17:47 internal [2024-10-07T17:54:39.938Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 7 17:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:54:40.398Z] + 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=d15d3953b1a126ac165e9fd14e526d0e613e04bc --label arch=arm64 --label version=0.0.0 . [2024-10-07T17:54:40.987Z] Sending build context to Docker daemon 10.63MB [2024-10-07T17:54:40.987Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T17:54:40.987Z] Step 2/37 : FROM ${BASE} AS builder [2024-10-07T17:54:40.987Z] ---> 9d37c902f9dd [2024-10-07T17:54:40.987Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-10-07T17:54:40.987Z] ---> Running in 24bc43e652ce [2024-10-07T17:54:41.256Z] Removing intermediate container 24bc43e652ce [2024-10-07T17:54:41.256Z] ---> f8a7667ee62e [2024-10-07T17:54:41.256Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-07T17:54:41.530Z] ---> Running in ad0c2cfc76f5 [2024-10-07T17:54:41.798Z] Removing intermediate container ad0c2cfc76f5 [2024-10-07T17:54:41.798Z] ---> 8e81e2742247 [2024-10-07T17:54:41.798Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-07T17:54:41.798Z] ---> Running in 941f1cde4930 [2024-10-07T17:54:42.069Z] Removing intermediate container 941f1cde4930 [2024-10-07T17:54:42.069Z] ---> ca04149dd47b [2024-10-07T17:54:42.069Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-07T17:54:42.069Z] ---> Running in 498a312c94e5 [2024-10-07T17:54:42.338Z] Removing intermediate container 498a312c94e5 [2024-10-07T17:54:42.338Z] ---> 7f8f6680ce39 [2024-10-07T17:54:42.338Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-07T17:54:42.608Z] ---> Running in 431ee5114aa0 [2024-10-07T17:54:43.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T17:54:43.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T17:54:45.248Z] OK: 246 MiB in 68 packages [2024-10-07T17:54:46.217Z] Removing intermediate container 431ee5114aa0 [2024-10-07T17:54:46.217Z] ---> 44d04b9e4198 [2024-10-07T17:54:46.217Z] Step 8/37 : WORKDIR /device-usb-camera [2024-10-07T17:54:46.217Z] ---> Running in 6f0535261b0d [2024-10-07T17:54:46.803Z] Removing intermediate container 6f0535261b0d [2024-10-07T17:54:46.803Z] ---> a8d0fe180d53 [2024-10-07T17:54:46.803Z] Step 9/37 : COPY go.mod vendor* ./ [2024-10-07T17:54:47.074Z] ---> 53ad76f39cb7 [2024-10-07T17:54:47.074Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T17:54:47.347Z] ---> Running in 3f6721ecabed [2024-10-07T17:54:49.940Z] Removing intermediate container 3f6721ecabed [2024-10-07T17:54:49.940Z] ---> eeec5dfe274f [2024-10-07T17:54:49.940Z] Step 11/37 : COPY . . [2024-10-07T17:54:51.349Z] ---> 711c3057f0bb [2024-10-07T17:54:51.349Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-07T17:54:51.349Z] ---> Running in c72a93201389 [2024-10-07T17:54:52.312Z]  % Total % Received % Xferd Average Speed Time Time   Time Current [2024-10-07T17:54:52.312Z]     Dload Upload Total Spent Left Speed [2024-10-07T17:54:52.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 6220 0 --:--:-- --:--:-- --:--:-- 6321 [2024-10-07T17:54:52.898Z] Removing intermediate container c72a93201389 [2024-10-07T17:54:52.898Z] ---> 182bbd48e20b [2024-10-07T17:54:52.898Z] Step 13/37 : RUN ${MAKE} [2024-10-07T17:54:53.168Z] ---> Running in 352619b7b576 [2024-10-07T17:54:54.128Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2024-10-07T17:58:45.896Z] Removing intermediate container 352619b7b576 [2024-10-07T17:58:45.896Z] ---> dbc341f10996 [2024-10-07T17:58:45.896Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-10-07T17:58:45.896Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-10-07T17:58:45.896Z] da4d7e05a7aa: Pulling fs layer [2024-10-07T17:58:45.896Z] da4d7e05a7aa: Verifying Checksum [2024-10-07T17:58:45.896Z] da4d7e05a7aa: Download complete [2024-10-07T17:58:45.896Z] da4d7e05a7aa: Pull complete [2024-10-07T17:58:45.896Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-10-07T17:58:45.896Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-10-07T17:58:45.896Z] ---> 62c65ed7ef0d [2024-10-07T17:58:45.896Z] Step 15/37 : FROM alpine:3.20 [2024-10-07T17:58:45.896Z] 3.20: Pulling from library/alpine [2024-10-07T17:58:45.896Z] cf04c63912e1: Already exists [2024-10-07T17:58:45.896Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T17:58:45.896Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T17:58:45.896Z] ---> c157a85ed455 [2024-10-07T17:58:45.896Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-07T17:58:45.896Z] ---> Running in 04542858fd71 [2024-10-07T17:58:45.896Z] Removing intermediate container 04542858fd71 [2024-10-07T17:58:45.896Z] ---> f48629341259 [2024-10-07T17:58:45.896Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-10-07T17:58:45.896Z] ---> Running in 477c738ecd6d [2024-10-07T17:58:45.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T17:58:45.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T17:58:45.896Z] (1/114) Installing dumb-init (1.2.5-r3) [2024-10-07T17:58:45.896Z] (2/114) Installing libSvtAv1Enc (2.0.0-r1) [2024-10-07T17:58:45.896Z] (3/114) Installing aom-libs (3.9.1-r0) [2024-10-07T17:58:45.896Z] (4/114) Installing libxau (1.0.11-r4) [2024-10-07T17:58:45.896Z] (5/114) Installing libmd (1.1.0-r0) [2024-10-07T17:58:45.896Z] (6/114) Installing libbsd (0.12.2-r0) [2024-10-07T17:58:45.896Z] (7/114) Installing libxdmcp (1.1.5-r1) [2024-10-07T17:58:45.896Z] (8/114) Installing libxcb (1.16.1-r0) [2024-10-07T17:58:45.896Z] (9/114) Installing libx11 (1.8.9-r1) [2024-10-07T17:58:45.896Z] (10/114) Installing hwdata-pci (0.382-r0) [2024-10-07T17:58:45.896Z] (11/114) Installing libpciaccess (0.18.1-r0) [2024-10-07T17:58:45.896Z] (12/114) Installing libdrm (2.4.120-r0) [2024-10-07T17:58:45.896Z] (13/114) Installing libxext (1.3.6-r2) [2024-10-07T17:58:45.896Z] (14/114) Installing libxfixes (6.0.1-r4) [2024-10-07T17:58:45.896Z] (15/114) Installing libffi (3.4.6-r0) [2024-10-07T17:58:45.896Z] (16/114) Installing wayland-libs-client (1.22.0-r4) [2024-10-07T17:58:45.896Z] (17/114) Installing libva (2.21.0-r0) [2024-10-07T17:58:45.896Z] (18/114) Installing libvdpau (1.5-r3) [2024-10-07T17:58:45.896Z] (19/114) Installing ffmpeg-libavutil (6.1.1-r8) [2024-10-07T17:58:45.896Z] (20/114) Installing libdav1d (1.4.2-r0) [2024-10-07T17:58:45.896Z] (21/114) Installing libgcc (13.2.1_git20240309-r0) [2024-10-07T17:58:45.896Z] (22/114) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-07T17:58:45.896Z] (23/114) Installing openexr-libiex (3.1.13-r1) [2024-10-07T17:58:45.896Z] (24/114) Installing openexr-libilmthread (3.1.13-r1) [2024-10-07T17:58:45.896Z] (25/114) Installing imath (3.1.12-r0) [2024-10-07T17:58:45.896Z] (26/114) Installing openexr-libopenexr (3.1.13-r1) [2024-10-07T17:58:45.896Z] (27/114) Installing brotli-libs (1.1.0-r2) [2024-10-07T17:58:45.896Z] (28/114) Installing giflib (5.2.2-r0) [2024-10-07T17:58:45.896Z] (29/114) Installing libhwy (1.0.7-r0) [2024-10-07T17:58:45.896Z] (30/114) Installing libjpeg-turbo (3.0.3-r0) [2024-10-07T17:58:45.896Z] (31/114) Installing lcms2 (2.16-r0) [2024-10-07T17:58:45.896Z] (32/114) Installing libpng (1.6.44-r0) [2024-10-07T17:58:45.896Z] (33/114) Installing libjxl (0.10.2-r0) [2024-10-07T17:58:45.896Z] (34/114) Installing lame-libs (3.100-r5) [2024-10-07T17:58:45.896Z] (35/114) Installing opus (1.5.2-r0) [2024-10-07T17:58:45.896Z] (36/114) Installing rav1e-libs (0.7.1-r0) [2024-10-07T17:58:45.896Z] (37/114) Installing libgomp (13.2.1_git20240309-r0) [2024-10-07T17:58:45.896Z] (38/114) Installing soxr (0.1.3-r7) [2024-10-07T17:58:45.896Z] (39/114) Installing ffmpeg-libswresample (6.1.1-r8) [2024-10-07T17:58:45.896Z] (40/114) Installing libogg (1.3.5-r5) [2024-10-07T17:58:45.896Z] (41/114) Installing libtheora (1.1.1-r18) [2024-10-07T17:58:45.896Z] (42/114) Installing libvorbis (1.3.7-r2) [2024-10-07T17:58:45.896Z] (43/114) Installing libvpx (1.14.1-r0) [2024-10-07T17:58:45.896Z] (44/114) Installing libsharpyuv (1.3.2-r0) [2024-10-07T17:58:45.896Z] (45/114) Installing libwebp (1.3.2-r0) [2024-10-07T17:58:45.896Z] (46/114) Installing libwebpmux (1.3.2-r0) [2024-10-07T17:58:45.896Z] (47/114) Installing x264-libs (0.164_git20231001-r0) [2024-10-07T17:58:45.896Z] (48/114) Installing numactl (2.0.18-r0) [2024-10-07T17:58:45.896Z] (49/114) Installing x265-libs (3.6-r0) [2024-10-07T17:58:45.897Z] (50/114) Installing xvidcore (1.3.7-r2) [2024-10-07T17:58:45.897Z] (51/114) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-10-07T17:58:45.897Z] (52/114) Installing sdl2 (2.28.5-r1) [2024-10-07T17:58:45.897Z] (53/114) Installing alsa-lib (1.2.11-r0) [2024-10-07T17:58:45.897Z] (54/114) Installing libexpat (2.6.3-r0) [2024-10-07T17:58:45.897Z] (55/114) Installing libbz2 (1.0.8-r6) [2024-10-07T17:58:45.897Z] (56/114) Installing freetype (2.13.2-r0) [2024-10-07T17:58:45.897Z] (57/114) Installing fontconfig (2.15.0-r1) [2024-10-07T17:58:45.897Z] (58/114) Installing fribidi (1.0.15-r0) [2024-10-07T17:58:45.897Z] (59/114) Installing libintl (0.22.5-r0) [2024-10-07T17:58:45.897Z] (60/114) Installing libeconf (0.6.3-r0) [2024-10-07T17:58:45.897Z] (61/114) Installing libblkid (2.40.1-r1) [2024-10-07T17:58:45.897Z] (62/114) Installing libmount (2.40.1-r1) [2024-10-07T17:58:45.897Z] (63/114) Installing pcre2 (10.43-r0) [2024-10-07T17:58:45.897Z] (64/114) Installing glib (2.80.5-r0) [2024-10-07T17:58:45.897Z] (65/114) Installing graphite2 (1.3.14-r6) [2024-10-07T17:58:45.897Z] (66/114) Installing harfbuzz (8.5.0-r0) [2024-10-07T17:58:45.897Z] (67/114) Installing libunibreak (6.1-r0) [2024-10-07T17:58:45.897Z] (68/114) Installing libass (0.17.2-r0) [2024-10-07T17:58:45.897Z] (69/114) Installing libbluray (1.3.4-r1) [2024-10-07T17:58:45.897Z] (70/114) Installing mpg123-libs (1.32.6-r0) [2024-10-07T17:58:45.897Z] (71/114) Installing libopenmpt (0.7.7-r0) [2024-10-07T17:58:45.897Z] (72/114) Installing cjson (1.7.18-r0) [2024-10-07T17:58:45.897Z] (73/114) Installing mbedtls (3.6.1-r0) [2024-10-07T17:58:45.897Z] (74/114) Installing librist (0.2.10-r1) [2024-10-07T17:58:45.897Z] (75/114) Installing libsrt (1.5.3-r0) [2024-10-07T17:58:45.897Z] (76/114) Installing libssh (0.10.6-r0) [2024-10-07T17:58:45.897Z] (77/114) Installing xz-libs (5.6.2-r0) [2024-10-07T17:58:45.897Z] (78/114) Installing libxml2 (2.12.7-r0) [2024-10-07T17:58:45.897Z] (79/114) Installing libsodium (1.0.19-r0) [2024-10-07T17:58:45.897Z] (80/114) Installing libzmq (4.3.5-r2) [2024-10-07T17:58:45.897Z] (81/114) Installing ffmpeg-libavformat (6.1.1-r8) [2024-10-07T17:58:45.897Z] (82/114) Installing serd-libs (0.32.2-r0) [2024-10-07T17:58:45.897Z] (83/114) Installing zix-libs (0.4.2-r0) [2024-10-07T17:58:45.897Z] (84/114) Installing sord-libs (0.16.16-r0) [2024-10-07T17:58:45.897Z] (85/114) Installing sratom (0.6.16-r0) [2024-10-07T17:58:45.897Z] (86/114) Installing lilv-libs (0.24.24-r1) [2024-10-07T17:58:45.897Z] (87/114) Installing glslang-libs (1.3.261.1-r0) [2024-10-07T17:58:45.897Z] (88/114) Installing libdovi (3.3.0-r0) [2024-10-07T17:58:45.897Z] (89/114) Installing spirv-tools (1.3.261.1-r0) [2024-10-07T17:58:45.897Z] (90/114) Installing shaderc (2024.0-r0) [2024-10-07T17:58:45.897Z] (91/114) Installing vulkan-loader (1.3.261.1-r0) [2024-10-07T17:58:45.897Z] (92/114) Installing libplacebo (6.338.2-r1) [2024-10-07T17:58:45.897Z] (93/114) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-10-07T17:58:45.897Z] (94/114) Installing ffmpeg-libswscale (6.1.1-r8) [2024-10-07T17:58:45.897Z] (95/114) Installing vidstab (1.1.1-r0) [2024-10-07T17:58:45.897Z] (96/114) Installing zimg (3.0.5-r2) [2024-10-07T17:58:45.897Z] (97/114) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-10-07T17:58:46.162Z] (98/114) Installing libasyncns (0.8-r3) [2024-10-07T17:58:46.162Z] (99/114) Installing dbus-libs (1.14.10-r1) [2024-10-07T17:58:46.162Z] (100/114) Installing libltdl (2.4.7-r3) [2024-10-07T17:58:46.162Z] (101/114) Installing orc (0.4.39-r0) [2024-10-07T17:58:46.162Z] (102/114) Installing libflac (1.4.3-r1) [2024-10-07T17:58:46.162Z] (103/114) Installing libsndfile (1.2.2-r0) [2024-10-07T17:58:46.162Z] (104/114) Installing speexdsp (1.2.1-r2) [2024-10-07T17:58:46.162Z] (105/114) Installing tdb-libs (1.4.9-r1) [2024-10-07T17:58:46.162Z] (106/114) Installing libpulse (17.0-r0) [2024-10-07T17:58:46.162Z] (107/114) Installing v4l-utils-libs (1.24.1-r1) [2024-10-07T17:58:46.162Z] (108/114) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-10-07T17:58:46.162Z] (109/114) Installing ffmpeg (6.1.1-r8) [2024-10-07T17:58:46.162Z] (110/114) Installing udev-init-scripts (35-r1) [2024-10-07T17:58:46.162Z] (111/114) Installing eudev-libs (3.2.14-r2) [2024-10-07T17:58:46.432Z] (112/114) Installing zstd-libs (1.5.6-r0) [2024-10-07T17:58:46.432Z] (113/114) Installing kmod-libs (32-r0) [2024-10-07T17:58:46.432Z] (114/114) Installing eudev (3.2.14-r2) [2024-10-07T17:58:46.432Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T17:58:46.432Z] Executing glib-2.80.5-r0.trigger [2024-10-07T17:58:46.432Z] Executing eudev-3.2.14-r2.trigger [2024-10-07T17:58:46.432Z] OK: 120 MiB in 128 packages [2024-10-07T17:58:50.677Z] Removing intermediate container 477c738ecd6d [2024-10-07T17:58:50.677Z] ---> d0bfd0fb3d17 [2024-10-07T17:58:50.677Z] Step 18/37 : RUN apk --no-cache upgrade [2024-10-07T17:58:50.677Z] ---> Running in a9b3c6e099c0 [2024-10-07T17:58:51.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T17:58:51.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T17:58:53.305Z] Upgrading critical system libraries and apk-tools: [2024-10-07T17:58:53.305Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T17:58:53.305Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T17:58:53.571Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T17:58:53.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T17:58:53.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T17:58:55.246Z] OK: 120 MiB in 128 packages [2024-10-07T17:58:56.208Z] Removing intermediate container a9b3c6e099c0 [2024-10-07T17:58:56.208Z] ---> e725dfd591ec [2024-10-07T17:58:56.208Z] Step 19/37 : WORKDIR / [2024-10-07T17:58:56.208Z] ---> Running in f327ac9d872f [2024-10-07T17:58:56.474Z] Removing intermediate container f327ac9d872f [2024-10-07T17:58:56.474Z] ---> 26067cf59066 [2024-10-07T17:58:56.474Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-10-07T17:58:59.055Z] ---> 41b0eaa696d4 [2024-10-07T17:58:59.055Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-10-07T17:58:59.322Z] ---> b36a4a974b23 [2024-10-07T17:58:59.322Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-10-07T17:58:59.908Z] ---> 3ddac7e90934 [2024-10-07T17:58:59.908Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-10-07T17:59:00.490Z] ---> 8fcd35982c76 [2024-10-07T17:59:00.490Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-10-07T17:59:01.071Z] ---> 4c760f13ac08 [2024-10-07T17:59:01.071Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-10-07T17:59:01.344Z] ---> 54eea059449a [2024-10-07T17:59:01.344Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-10-07T17:59:03.282Z] ---> 9c8b149d65f8 [2024-10-07T17:59:03.282Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-10-07T17:59:03.282Z] ---> Running in 646dcca9d9fa [2024-10-07T17:59:04.688Z] Removing intermediate container 646dcca9d9fa [2024-10-07T17:59:04.688Z] ---> a6b35016653f [2024-10-07T17:59:04.688Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-10-07T17:59:04.688Z] ---> Running in c191a91067be [2024-10-07T17:59:06.628Z] Removing intermediate container c191a91067be [2024-10-07T17:59:06.629Z] ---> 3ef9f47d24fe [2024-10-07T17:59:06.629Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-10-07T17:59:06.629Z] ---> Running in 84cf1062b16a [2024-10-07T17:59:08.036Z] Removing intermediate container 84cf1062b16a [2024-10-07T17:59:08.036Z] ---> decb08457b27 [2024-10-07T17:59:08.036Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-10-07T17:59:08.036Z] ---> Running in 9ca4e2882841 [2024-10-07T17:59:09.446Z] Removing intermediate container 9ca4e2882841 [2024-10-07T17:59:09.446Z] ---> f6901fc08922 [2024-10-07T17:59:09.446Z] Step 31/37 : EXPOSE 59983 [2024-10-07T17:59:09.446Z] ---> Running in 62a51e2da57a [2024-10-07T17:59:11.381Z] Removing intermediate container 62a51e2da57a [2024-10-07T17:59:11.381Z] ---> 1c454a2f5bd0 [2024-10-07T17:59:11.381Z] Step 32/37 : EXPOSE 8554 [2024-10-07T17:59:11.381Z] ---> Running in d9fce2470822 [2024-10-07T17:59:11.381Z] Removing intermediate container d9fce2470822 [2024-10-07T17:59:11.381Z] ---> bd18539e963b [2024-10-07T17:59:11.381Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-10-07T17:59:11.381Z] ---> Running in ec693b92a085 [2024-10-07T17:59:11.646Z] Removing intermediate container ec693b92a085 [2024-10-07T17:59:11.646Z] ---> 2fd54f1426df [2024-10-07T17:59:11.646Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-10-07T17:59:11.913Z] ---> Running in 2e444a686ba6 [2024-10-07T17:59:12.179Z] Removing intermediate container 2e444a686ba6 [2024-10-07T17:59:12.179Z] ---> 49261cd3ac1d [2024-10-07T17:59:12.179Z] Step 35/37 : LABEL arch=arm64 [2024-10-07T17:59:12.179Z] ---> Running in 0ff5c9378660 [2024-10-07T17:59:12.446Z] Removing intermediate container 0ff5c9378660 [2024-10-07T17:59:12.446Z] ---> 2e3f3261dbc1 [2024-10-07T17:59:12.446Z] Step 36/37 : LABEL git_sha=d15d3953b1a126ac165e9fd14e526d0e613e04bc [2024-10-07T17:59:12.446Z] ---> Running in cd2a69bcaa4f [2024-10-07T17:59:12.711Z] Removing intermediate container cd2a69bcaa4f [2024-10-07T17:59:12.712Z] ---> 5084bd62ba03 [2024-10-07T17:59:12.712Z] Step 37/37 : LABEL version=0.0.0 [2024-10-07T17:59:12.975Z] ---> Running in 010a03fbb1dd [2024-10-07T17:59:13.238Z] Removing intermediate container 010a03fbb1dd [2024-10-07T17:59:13.238Z] ---> 6a05135a4c3c [2024-10-07T17:59:13.238Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T17:59:13.238Z] Successfully built 6a05135a4c3c [2024-10-07T17:59:13.238Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:59:14.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T17:59:14.183Z] [2024-10-07T17:59:14.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:59:14.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T17:59:14.607Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T17:59:14.607Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T17:59:14.607Z] 04944245beec: Pulling fs layer [2024-10-07T17:59:14.607Z] 699f458cf7ca: Pulling fs layer [2024-10-07T17:59:14.607Z] 765212b225bb: Pulling fs layer [2024-10-07T17:59:14.607Z] f23df028b6ca: Pulling fs layer [2024-10-07T17:59:14.607Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T17:59:14.607Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T17:59:14.607Z] f23df028b6ca: Waiting [2024-10-07T17:59:14.607Z] d65c8cfc05b1: Waiting [2024-10-07T17:59:14.607Z] 2437ff75d9bd: Waiting [2024-10-07T17:59:14.607Z] 765212b225bb: Waiting [2024-10-07T17:59:14.874Z] 04944245beec: Verifying Checksum [2024-10-07T17:59:14.874Z] 04944245beec: Download complete [2024-10-07T17:59:14.874Z] 765212b225bb: Verifying Checksum [2024-10-07T17:59:14.874Z] 765212b225bb: Download complete [2024-10-07T17:59:14.874Z] f23df028b6ca: Verifying Checksum [2024-10-07T17:59:14.874Z] f23df028b6ca: Download complete [2024-10-07T17:59:14.874Z] d65c8cfc05b1: Verifying Checksum [2024-10-07T17:59:14.874Z] d65c8cfc05b1: Download complete [2024-10-07T17:59:14.874Z] 699f458cf7ca: Verifying Checksum [2024-10-07T17:59:14.874Z] 699f458cf7ca: Download complete [2024-10-07T17:59:15.455Z] 8998bd30e6a1: Verifying Checksum [2024-10-07T17:59:15.455Z] 8998bd30e6a1: Download complete [2024-10-07T17:59:18.032Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T17:59:18.032Z] 2437ff75d9bd: Download complete [2024-10-07T17:59:19.969Z] 8998bd30e6a1: Pull complete [2024-10-07T17:59:20.236Z] 04944245beec: Pull complete [2024-10-07T17:59:21.643Z] 699f458cf7ca: Pull complete [2024-10-07T17:59:21.912Z] 765212b225bb: Pull complete [2024-10-07T17:59:22.869Z] f23df028b6ca: Pull complete [2024-10-07T17:59:22.870Z] d65c8cfc05b1: Pull complete [2024-10-07T17:59:41.084Z] 2437ff75d9bd: Pull complete [2024-10-07T17:59:41.084Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T17:59:41.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T17:59:41.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:59:41.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-22077 does not seem to be running inside a container [2024-10-07T17:59:41.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-07T17:59:44.318Z] $ docker top 1eb28e0b6052cba10cd959a6650e5d005b81befc4fa86a5428909dae874d2c22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:59:45.252Z] ---> job-cost.sh [2024-10-07T17:59:45.252Z] lf-activate-venv: SKIPPING [2024-10-07T17:59:45.252Z] INFO: No Stack... [2024-10-07T17:59:45.830Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T17:59:46.407Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T17:59:47.070Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2024-10-07T17:59:47.070Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T17:59:47.149Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] [2024-10-07T17:59:47.155Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] did not exist. Created. [2024-10-07T17:59:47.162Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T17:59:47.900Z] /w/workspace/device-usb-camera/1@tmp/durable-5ffcc89e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T17:59:48.565Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T17:59:48.605Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T17:59:48.651Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T17:59:48.672Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T17:59:48.844Z] $ docker stop --time=1 1eb28e0b6052cba10cd959a6650e5d005b81befc4fa86a5428909dae874d2c22 [2024-10-07T17:59:50.345Z] $ docker rm -f --volumes 1eb28e0b6052cba10cd959a6650e5d005b81befc4fa86a5428909dae874d2c22 [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 [2024-10-07T17:59:51.530Z] provisioning config files... [2024-10-07T17:59:51.540Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-354@tmp/config8772411970014187853tmp [Pipeline] { [Pipeline] sh [2024-10-07T17:59:51.890Z] + set +x [2024-10-07T17:59:51.890Z] + curl -s https://codecov.io/bash [2024-10-07T17:59:51.890Z] + bash -s -- [2024-10-07T17:59:51.890Z] [2024-10-07T17:59:51.890Z] _____ _ [2024-10-07T17:59:51.890Z] / ____| | | [2024-10-07T17:59:51.890Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T17:59:51.890Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T17:59:51.890Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T17:59:51.890Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T17:59:51.890Z] Bash-1.0.6 [2024-10-07T17:59:51.890Z] [2024-10-07T17:59:51.890Z] [2024-10-07T17:59:51.890Z] ==> git version 2.25.1 found [2024-10-07T17:59:51.890Z] ==> 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 [2024-10-07T17:59:51.890Z] Release-Date: 2020-01-08 [2024-10-07T17:59:51.890Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-07T17:59:51.891Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T17:59:51.891Z] ==> Jenkins CI detected. [2024-10-07T17:59:51.891Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-354 [2024-10-07T17:59:51.891Z] project root: . [2024-10-07T17:59:51.891Z] --> token set from env [2024-10-07T17:59:51.891Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T17:59:51.891Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T17:59:51.891Z] ==> Python coveragepy not found [2024-10-07T17:59:51.891Z] ==> Searching for coverage reports in: [2024-10-07T17:59:51.891Z] + . [2024-10-07T17:59:51.891Z] -> Found 1 reports [2024-10-07T17:59:51.891Z] ==> Detecting git/mercurial file structure [2024-10-07T17:59:51.891Z] ==> Reading reports [2024-10-07T17:59:52.152Z] + ./coverage.out bytes=54772 [2024-10-07T17:59:52.152Z] ==> Appending adjustments [2024-10-07T17:59:52.152Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T17:59:52.152Z] + Found adjustments [2024-10-07T17:59:52.152Z] ==> Gzipping contents [2024-10-07T17:59:52.152Z] 8.0K /tmp/codecov.fE3c3Q.gz [2024-10-07T17:59:52.152Z] ==> Uploading reports [2024-10-07T17:59:52.152Z] url: https://codecov.io [2024-10-07T17:59:52.152Z] query: branch=PR-354&commit=d15d3953b1a126ac165e9fd14e526d0e613e04bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=354&job=&cmd_args= [2024-10-07T17:59:52.152Z] -> Pinging Codecov [2024-10-07T17:59:52.153Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-354&commit=d15d3953b1a126ac165e9fd14e526d0e613e04bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=354&job=&cmd_args= [2024-10-07T17:59:52.412Z] -> Uploading to [2024-10-07T17:59:52.412Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-usb-camera/d15d3953b1a126ac165e9fd14e526d0e613e04bc/ee3e036b-37ab-4224-8f64-aad491af8f8e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T175952Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=481d1434ad0495bbef01ccb33cfd51e90a656eefc3dacf41ac2a47998483cdce [2024-10-07T17:59:52.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T17:59:52.412Z] Dload Upload Total Spent Left Speed [2024-10-07T17:59:52.412Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6816 0 0 100 6816 0 32927 --:--:-- --:--:-- --:--:-- 32927 [2024-10-07T17:59:52.412Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d15d3953b1a126ac165e9fd14e526d0e613e04bc [Pipeline] } [2024-10-07T17:59:52.442Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-07T17:59:54.613Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-354/archives ] [2024-10-07T17:59:54.613Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-354/archives [2024-10-07T17:59:54.613Z] total 16 [2024-10-07T17:59:54.613Z] drwxr-xr-x 3 root root 4096 Oct 7 17:48 . [2024-10-07T17:59:54.613Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 17:48 .. [2024-10-07T17:59:54.613Z] drwxr-xr-x 2 root root 4096 Oct 7 17:48 cost [2024-10-07T17:59:54.613Z] -rw-r--r-- 1 root root 89 Oct 7 17:48 cost.csv [2024-10-07T17:59:54.613Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-354/archives [2024-10-07T17:59:54.613Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-354/archives [2024-10-07T17:59:54.613Z] total 16 [2024-10-07T17:59:54.613Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 17:48 . [2024-10-07T17:59:54.613Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 17:48 .. [2024-10-07T17:59:54.613Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 17:48 cost [2024-10-07T17:59:54.613Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 7 17:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:59:54.956Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:59:55.866Z] ---> package-listing.sh [2024-10-07T17:59:55.866Z] ++ facter osfamily [2024-10-07T17:59:55.866Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T17:59:56.125Z] + OS_FAMILY=debian [2024-10-07T17:59:56.125Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-354 [2024-10-07T17:59:56.125Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T17:59:56.125Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T17:59:56.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T17:59:56.125Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T17:59:56.125Z] + '[' /w/workspace/foundry_device-usb-camera_PR-354 ']' [2024-10-07T17:59:56.125Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T17:59:56.125Z] + case "${OS_FAMILY}" in [2024-10-07T17:59:56.125Z] + dpkg -l [2024-10-07T17:59:56.125Z] + grep '^ii' [2024-10-07T17:59:56.125Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T17:59:56.125Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T17:59:56.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T17:59:56.125Z] + '[' /w/workspace/foundry_device-usb-camera_PR-354 ']' [2024-10-07T17:59:56.125Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-354/archives/ [2024-10-07T17:59:56.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-354/archives/ [Pipeline] echo [2024-10-07T17:59:56.174Z] 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T17:59:56.473Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T17:59:57.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T17:59:57.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T17:59:57.319Z] prd-ubuntu20.04-docker-8c-8g-22076 does not seem to be running inside a container [2024-10-07T17:59:57.344Z] $ 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-354/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-354 -v /w/workspace/foundry_device-usb-camera_PR-354:/w/workspace/foundry_device-usb-camera_PR-354:rw,z -v /w/workspace/foundry_device-usb-camera_PR-354@tmp:/w/workspace/foundry_device-usb-camera_PR-354@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 [2024-10-07T17:59:57.565Z] $ docker top 6284eab13bc2f46306c0e75d42054883539851fe8bf65e5f60b8ce9febfdc3dd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T17:59:57.979Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T17:59:58.298Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T17:59:58.609Z] + ls /var/log/sa-host [2024-10-07T17:59:58.609Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T17:59:58.917Z] provisioning config files... [2024-10-07T17:59:58.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-354@tmp/config15573713552921775581tmp [Pipeline] { [Pipeline] echo [2024-10-07T17:59:58.995Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:59:59.356Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T17:59:59.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T17:59:59.847Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T17:59:59.887Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:00:00.214Z] ---> sudo-logs.sh [2024-10-07T18:00:00.214Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T18:00:00.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:00:00.638Z] ---> job-cost.sh [2024-10-07T18:00:00.638Z] lf-activate-venv: SKIPPING [2024-10-07T18:00:00.638Z] DEBUG: total: 0.2199999988079071 [2024-10-07T18:00:00.638Z] INFO: Retrieving Stack Cost... [2024-10-07T18:00:00.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T18:00:01.466Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T18:00:01.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T18:00:01.836Z] ---> logs-deploy.sh [2024-10-07T18:00:01.836Z] lf-activate-venv: SKIPPING [2024-10-07T18:00:01.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-354/1 [2024-10-07T18:00:01.836Z] INFO: archiving workspace using pattern(s): [2024-10-07T18:00:02.774Z] Archives upload complete. [2024-10-07T18:00:02.774Z] INFO: archiving logs to Nexus