Pull request #356 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-usb-camera Obtained Jenkinsfile from b564a465dfea8c8ec571d2cffd941f169125aea6+f54ffb40a3babb35290dafd3840ebb7d04a6878c (409aa3a328c8a427bbe773bed2fd8452449d0016) 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-ssh5928725241564724865.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-ssh4295528302675475394.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-356/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-356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5118666290211473948.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-356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12785593348444573536.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-ssh8394596628598619825.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-356/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-356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh159879908270825553.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22689’ Running on prd-ubuntu20.04-docker-8c-8g-22691 in /w/workspace/foundry_device-usb-camera_PR-356 [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-356 # 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/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f54ffb40a3babb35290dafd3840ebb7d04a6878c into PR head commit b564a465dfea8c8ec571d2cffd941f169125aea6 Merge succeeded, producing b564a465dfea8c8ec571d2cffd941f169125aea6 Checking out Revision b564a465dfea8c8ec571d2cffd941f169125aea6 (PR-356) > git config core.sparsecheckout # timeout=10 > git checkout -f b564a465dfea8c8ec571d2cffd941f169125aea6 # 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 f54ffb40a3babb35290dafd3840ebb7d04a6878c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b564a465dfea8c8ec571d2cffd941f169125aea6 # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T07:40:44.422Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T07:40:44.624Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T07:40:44.751Z] ========================================================= [2024-10-14T07:40:44.751Z] EdgeX Global Pipelines Version Info [2024-10-14T07:40:44.751Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:40:45.520Z] ------------------- [2024-10-14T07:40:45.521Z] stable info: [2024-10-14T07:40:45.521Z] ------------------- [2024-10-14T07:40:45.521Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T07:40:45.521Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T07:40:45.521Z] Message: update stable to v1.0.265 [2024-10-14T07:40:46.095Z] ------------------- [2024-10-14T07:40:46.095Z] experimental info: [2024-10-14T07:40:46.095Z] ------------------- [2024-10-14T07:40:46.095Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T07:40:46.095Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T07:40:46.095Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T07:40:46.320Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-10-14T07:40:46.380Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-10-14T07:40:46.438Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T07:40:46.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T07:40:46.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T07:40:46.615Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T07:40:46.680Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T07:40:46.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T07:40:46.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T07:40:46.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T07:40:46.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T07:40:46.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-10-14T07:40:47.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T07:40:47.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T07:40:47.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T07:40:47.211Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T07:40:47.267Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T07:40:47.327Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T07:40:47.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T07:40:47.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T07:40:47.506Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T07:40:47.567Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T07:40:47.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T07:40:47.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T07:40:47.747Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T07:40:47.806Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T07:40:47.859Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T07:40:47.915Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-356 [Pipeline] echo [2024-10-14T07:40:47.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-356 [Pipeline] echo [2024-10-14T07:40:48.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-356 [Pipeline] echo [2024-10-14T07:40:48.082Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b564a465dfea8c8ec571d2cffd941f169125aea6 [Pipeline] echo [2024-10-14T07:40:48.145Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b564a46 [Pipeline] echo [2024-10-14T07:40:48.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:40:48.351Z] provisioning config files... [2024-10-14T07:40:48.364Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-356@tmp/config10268059936062266325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:40:48.756Z] ---> ****-login.sh [2024-10-14T07:40:48.756Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:40:49.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:40:49.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:40:49.015Z] Configure a credential helper to remove this warning. See [2024-10-14T07:40:49.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:40:49.015Z] [2024-10-14T07:40:49.015Z] Login Succeeded [2024-10-14T07:40:49.015Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:40:49.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:40:49.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:40:49.274Z] Configure a credential helper to remove this warning. See [2024-10-14T07:40:49.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:40:49.274Z] [2024-10-14T07:40:49.274Z] Login Succeeded [2024-10-14T07:40:49.274Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:40:49.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:40:49.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:40:49.274Z] Configure a credential helper to remove this warning. See [2024-10-14T07:40:49.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:40:49.274Z] [2024-10-14T07:40:49.274Z] Login Succeeded [2024-10-14T07:40:49.274Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:40:49.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:40:49.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:40:49.534Z] Configure a credential helper to remove this warning. See [2024-10-14T07:40:49.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:40:49.534Z] [2024-10-14T07:40:49.534Z] Login Succeeded [2024-10-14T07:40:49.534Z] ****.io [2024-10-14T07:40:49.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:40:49.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:40:49.795Z] Configure a credential helper to remove this warning. See [2024-10-14T07:40:49.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:40:49.795Z] [2024-10-14T07:40:49.795Z] Login Succeeded [2024-10-14T07:40:49.795Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:40:49.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T07:40:50.641Z] + git rev-list -1 --merges b564a465dfea8c8ec571d2cffd941f169125aea6~1..b564a465dfea8c8ec571d2cffd941f169125aea6 [Pipeline] echo [2024-10-14T07:40:50.693Z] -----------> git rev-list -1 --merges b564a465dfea8c8ec571d2cffd941f169125aea6~1..b564a465dfea8c8ec571d2cffd941f169125aea6 b564a465dfea8c8ec571d2cffd941f169125aea6 [false] [Pipeline] sh [2024-10-14T07:40:51.027Z] + git log --format=format:%s -1 b564a465dfea8c8ec571d2cffd941f169125aea6 [Pipeline] echo [2024-10-14T07:40:51.070Z] ========================================================= [2024-10-14T07:40:51.070Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T07:40:51.070Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:40:51.545Z] + git log --format=format:%s -1 b564a465dfea8c8ec571d2cffd941f169125aea6 [Pipeline] echo [2024-10-14T07:40:51.583Z] [semverPrep] GIT_COMMIT: b564a465dfea8c8ec571d2cffd941f169125aea6, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo [2024-10-14T07:40:51.625Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T07:40:52.027Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T07:40:52.027Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T07:40:52.027Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T07:40:52.027Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T07:40:52.027Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T07:40:52.027Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T07:40:52.027Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:40:52.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:40:52.479Z] [2024-10-14T07:40:52.479Z] 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-14T07:40:52.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:40:52.877Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T07:40:52.877Z] b85a868b505f: Pulling fs layer [2024-10-14T07:40:52.877Z] e2be974225ed: Pulling fs layer [2024-10-14T07:40:52.877Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T07:40:52.877Z] 988bab9f4d93: Pulling fs layer [2024-10-14T07:40:52.877Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T07:40:52.877Z] eaf3925da568: Pulling fs layer [2024-10-14T07:40:52.877Z] bab4dde63d76: Pulling fs layer [2024-10-14T07:40:52.877Z] bde34c3a00c8: Pulling fs layer [2024-10-14T07:40:52.877Z] b352a97aabf1: Pulling fs layer [2024-10-14T07:40:52.877Z] 4872d77fe225: Pulling fs layer [2024-10-14T07:40:52.877Z] 5851b861e8e6: Pulling fs layer [2024-10-14T07:40:52.877Z] 1469e6f7b9e6: Waiting [2024-10-14T07:40:52.877Z] b352a97aabf1: Waiting [2024-10-14T07:40:52.877Z] 988bab9f4d93: Waiting [2024-10-14T07:40:52.877Z] eaf3925da568: Waiting [2024-10-14T07:40:52.877Z] bab4dde63d76: Waiting [2024-10-14T07:40:52.877Z] bde34c3a00c8: Waiting [2024-10-14T07:40:52.877Z] e2be974225ed: Download complete [2024-10-14T07:40:52.877Z] 988bab9f4d93: Verifying Checksum [2024-10-14T07:40:52.877Z] 988bab9f4d93: Download complete [2024-10-14T07:40:52.877Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T07:40:52.877Z] 1469e6f7b9e6: Download complete [2024-10-14T07:40:52.877Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T07:40:52.877Z] 339a4e72a1f5: Download complete [2024-10-14T07:40:52.877Z] eaf3925da568: Download complete [2024-10-14T07:40:53.136Z] bde34c3a00c8: Download complete [2024-10-14T07:40:53.136Z] b352a97aabf1: Verifying Checksum [2024-10-14T07:40:53.136Z] b352a97aabf1: Download complete [2024-10-14T07:40:53.136Z] 4872d77fe225: Download complete [2024-10-14T07:40:53.136Z] 5851b861e8e6: Download complete [2024-10-14T07:40:53.136Z] b85a868b505f: Verifying Checksum [2024-10-14T07:40:53.136Z] b85a868b505f: Download complete [2024-10-14T07:40:53.394Z] bab4dde63d76: Verifying Checksum [2024-10-14T07:40:53.394Z] bab4dde63d76: Download complete [2024-10-14T07:40:54.331Z] b85a868b505f: Pull complete [2024-10-14T07:40:54.331Z] e2be974225ed: Pull complete [2024-10-14T07:40:54.899Z] 339a4e72a1f5: Pull complete [2024-10-14T07:40:54.899Z] 988bab9f4d93: Pull complete [2024-10-14T07:40:55.159Z] 1469e6f7b9e6: Pull complete [2024-10-14T07:40:55.418Z] eaf3925da568: Pull complete [2024-10-14T07:40:57.320Z] bab4dde63d76: Pull complete [2024-10-14T07:40:57.320Z] bde34c3a00c8: Pull complete [2024-10-14T07:40:57.320Z] b352a97aabf1: Pull complete [2024-10-14T07:40:57.320Z] 4872d77fe225: Pull complete [2024-10-14T07:40:57.580Z] 5851b861e8e6: Pull complete [2024-10-14T07:40:57.580Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T07:40:57.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:40:57.580Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:40:57.865Z] prd-ubuntu20.04-docker-8c-8g-22691 does not seem to be running inside a container [2024-10-14T07:40:57.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-356 -v /w/workspace/foundry_device-usb-camera_PR-356:/w/workspace/foundry_device-usb-camera_PR-356:rw,z -v /w/workspace/foundry_device-usb-camera_PR-356@tmp:/w/workspace/foundry_device-usb-camera_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-14T07:41:01.009Z] $ docker top 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 -eo pid,comm [2024-10-14T07:41:01.074Z] 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-14T07:41:01.074Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T07:41:01.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T07:41:01.243Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T07:41:01.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T07:41:01.342Z] $ docker exec 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 ssh-agent [2024-10-14T07:41:01.460Z] SSH_AUTH_SOCK=/tmp/ssh-HC1TgpaLTn7q/agent.32 [2024-10-14T07:41:01.460Z] SSH_AGENT_PID=38 [2024-10-14T07:41:01.465Z] Running ssh-add (command line suppressed) [2024-10-14T07:41:01.561Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-356@tmp/private_key_12044993085097617001.key (/w/workspace/foundry_device-usb-camera_PR-356@tmp/private_key_12044993085097617001.key) [2024-10-14T07:41:01.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T07:41:01.928Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T07:41:01.957Z] $ docker exec --env ******** --env ******** 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 ssh-agent -k [2024-10-14T07:41:02.062Z] unset SSH_AUTH_SOCK; [2024-10-14T07:41:02.062Z] unset SSH_AGENT_PID; [2024-10-14T07:41:02.062Z] echo Agent pid 38 killed; [2024-10-14T07:41:02.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T07:41:02.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T07:41:02.187Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T07:41:02.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T07:41:02.299Z] $ docker exec 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 ssh-agent [2024-10-14T07:41:02.412Z] SSH_AUTH_SOCK=/tmp/ssh-tBD2jvSX14Jt/agent.71 [2024-10-14T07:41:02.412Z] SSH_AGENT_PID=77 [2024-10-14T07:41:02.417Z] Running ssh-add (command line suppressed) [2024-10-14T07:41:02.515Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-356@tmp/private_key_10709134798295937445.key (/w/workspace/foundry_device-usb-camera_PR-356@tmp/private_key_10709134798295937445.key) [2024-10-14T07:41:02.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T07:41:02.874Z] + git semver init [2024-10-14T07:41:03.134Z] 2024-10-14 07:41:03,051 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T07:41:03.134Z] 2024-10-14 07:41:03,052 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-356/.semver [2024-10-14T07:41:03.134Z] 2024-10-14 07:41:03,053 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-356/.semver [2024-10-14T07:41:03.134Z] 2024-10-14 07:41:03,053 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-356/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-356, universal_newlines=False, shell=None, istream=None) [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,598 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-356/.git/info/exclude [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-356/.semver/PR-356 with force:False [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,599 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-356/.semver/PR-356 [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,604 [execute] INFO git cat-file --batch-check [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-356/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,611 [execute] INFO git cat-file --batch [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-356/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T07:41:05.050Z] 2024-10-14 07:41:04,617 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-356/.semver/PR-356 [2024-10-14T07:41:05.050Z] 0.0.0 [Pipeline] } [2024-10-14T07:41:05.078Z] $ docker exec --env ******** --env ******** 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 ssh-agent -k [2024-10-14T07:41:05.190Z] unset SSH_AUTH_SOCK; [2024-10-14T07:41:05.191Z] unset SSH_AGENT_PID; [2024-10-14T07:41:05.191Z] echo Agent pid 77 killed; [2024-10-14T07:41:05.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T07:41:05.659Z] + git semver [Pipeline] } [2024-10-14T07:41:05.944Z] $ docker stop --time=1 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 [2024-10-14T07:41:07.263Z] $ docker rm -f --volumes 99685df37774fbbb0d800c2f9b12924e19093e389d64e5f5e1801a3aed086153 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:41:07.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T07:41:08.046Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T07:41:08.073Z] [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-14T07:41:08.882Z] provisioning config files... [2024-10-14T07:41:08.892Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-356@tmp/config3702165019457784161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:41:09.274Z] ---> ****-login.sh [2024-10-14T07:41:09.274Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:41:09.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:41:09.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:41:09.274Z] Configure a credential helper to remove this warning. See [2024-10-14T07:41:09.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:41:09.274Z] [2024-10-14T07:41:09.274Z] Login Succeeded [2024-10-14T07:41:09.274Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:41:09.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:41:09.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:41:09.274Z] Configure a credential helper to remove this warning. See [2024-10-14T07:41:09.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:41:09.275Z] [2024-10-14T07:41:09.275Z] Login Succeeded [2024-10-14T07:41:09.275Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:41:09.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:41:09.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:41:09.536Z] Configure a credential helper to remove this warning. See [2024-10-14T07:41:09.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:41:09.536Z] [2024-10-14T07:41:09.536Z] Login Succeeded [2024-10-14T07:41:09.536Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:41:09.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:41:09.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:41:09.536Z] Configure a credential helper to remove this warning. See [2024-10-14T07:41:09.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:41:09.536Z] [2024-10-14T07:41:09.536Z] Login Succeeded [2024-10-14T07:41:09.536Z] ****.io [2024-10-14T07:41:09.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:41:09.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:41:09.796Z] Configure a credential helper to remove this warning. See [2024-10-14T07:41:09.796Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:41:09.796Z] [2024-10-14T07:41:09.796Z] Login Succeeded [2024-10-14T07:41:09.796Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:41:09.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:41:10.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:41:10.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:41:10.171Z] ========================================================= [2024-10-14T07:41:10.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T07:41:10.171Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:41:10.708Z] + 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-14T07:41:10.708Z] Sending build context to Docker daemon 20.62MB [2024-10-14T07:41:10.708Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:41:10.708Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-14T07:41:10.708Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T07:41:10.708Z] 43c4264eed91: Pulling fs layer [2024-10-14T07:41:10.708Z] 4cc291be95ef: Pulling fs layer [2024-10-14T07:41:10.708Z] 2ac1f1163629: Pulling fs layer [2024-10-14T07:41:10.708Z] 5c3c966382ef: Pulling fs layer [2024-10-14T07:41:10.708Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:41:10.708Z] 5c3c966382ef: Waiting [2024-10-14T07:41:10.708Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T07:41:10.708Z] 9f66e0745190: Pulling fs layer [2024-10-14T07:41:10.708Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T07:41:10.708Z] 4f4fb700ef54: Waiting [2024-10-14T07:41:10.708Z] 5d5c8e513c77: Waiting [2024-10-14T07:41:10.708Z] 9f66e0745190: Waiting [2024-10-14T07:41:10.708Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T07:41:10.708Z] f49a43e4bbc0: Waiting [2024-10-14T07:41:10.708Z] 561ebcabdf7f: Waiting [2024-10-14T07:41:10.969Z] 4cc291be95ef: Verifying Checksum [2024-10-14T07:41:10.969Z] 4cc291be95ef: Download complete [2024-10-14T07:41:10.969Z] 5c3c966382ef: Download complete [2024-10-14T07:41:10.969Z] 4f4fb700ef54: Download complete [2024-10-14T07:41:10.969Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T07:41:10.969Z] 5d5c8e513c77: Download complete [2024-10-14T07:41:10.969Z] 43c4264eed91: Verifying Checksum [2024-10-14T07:41:10.969Z] 43c4264eed91: Download complete [2024-10-14T07:41:10.969Z] 9f66e0745190: Verifying Checksum [2024-10-14T07:41:10.969Z] 9f66e0745190: Download complete [2024-10-14T07:41:10.969Z] 43c4264eed91: Pull complete [2024-10-14T07:41:11.227Z] 4cc291be95ef: Pull complete [2024-10-14T07:41:11.227Z] 561ebcabdf7f: Verifying Checksum [2024-10-14T07:41:11.227Z] 561ebcabdf7f: Download complete [2024-10-14T07:41:11.486Z] 2ac1f1163629: Verifying Checksum [2024-10-14T07:41:11.486Z] 2ac1f1163629: Download complete [2024-10-14T07:41:11.744Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T07:41:11.744Z] f49a43e4bbc0: Download complete [2024-10-14T07:41:15.027Z] 2ac1f1163629: Pull complete [2024-10-14T07:41:15.027Z] 5c3c966382ef: Pull complete [2024-10-14T07:41:15.027Z] 4f4fb700ef54: Pull complete [2024-10-14T07:41:15.027Z] 5d5c8e513c77: Pull complete [2024-10-14T07:41:15.027Z] 9f66e0745190: Pull complete [2024-10-14T07:41:17.557Z] f49a43e4bbc0: Pull complete [2024-10-14T07:41:17.557Z] 561ebcabdf7f: Pull complete [2024-10-14T07:41:17.557Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T07:41:17.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T07:41:17.557Z] ---> 3a752c3f9dda [2024-10-14T07:41:17.557Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:41:21.874Z] ---> Running in 9444b4505f61 [2024-10-14T07:41:22.134Z] Removing intermediate container 9444b4505f61 [2024-10-14T07:41:22.134Z] ---> 668eaaa7cabd [2024-10-14T07:41:22.134Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:41:22.134Z] ---> Running in 45d3e5ffcc2a [2024-10-14T07:41:22.134Z] Removing intermediate container 45d3e5ffcc2a [2024-10-14T07:41:22.134Z] ---> aea12c196762 [2024-10-14T07:41:22.134Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T07:41:22.134Z] ---> Running in 2489342fa5c8 [2024-10-14T07:41:22.393Z] Removing intermediate container 2489342fa5c8 [2024-10-14T07:41:22.393Z] ---> 6b7f05acdf3c [2024-10-14T07:41:22.393Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T07:41:22.393Z] ---> Running in acd719faeb09 [2024-10-14T07:41:22.393Z] Removing intermediate container acd719faeb09 [2024-10-14T07:41:22.393Z] ---> 34525ec7582e [2024-10-14T07:41:22.393Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:41:22.393Z] ---> Running in 62bea3e2a79f [2024-10-14T07:41:22.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:41:22.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:41:23.173Z] (1/14) Installing libintl (0.22.5-r0) [2024-10-14T07:41:23.173Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-10-14T07:41:23.173Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T07:41:23.173Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T07:41:23.173Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-10-14T07:41:23.173Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-10-14T07:41:23.433Z] (7/14) Installing udev-init-scripts (35-r1) [2024-10-14T07:41:23.433Z] (8/14) Installing libeconf (0.6.3-r0) [2024-10-14T07:41:23.433Z] (9/14) Installing libblkid (2.40.1-r1) [2024-10-14T07:41:23.433Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-10-14T07:41:23.433Z] (11/14) Installing kmod-libs (32-r0) [2024-10-14T07:41:23.433Z] (12/14) Installing eudev (3.2.14-r2) [2024-10-14T07:41:23.433Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-10-14T07:41:23.433Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-10-14T07:41:23.433Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:41:23.433Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T07:41:23.433Z] OK: 253 MiB in 68 packages [2024-10-14T07:41:23.584Z] Still waiting to schedule task [2024-10-14T07:41:23.584Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22690’ [2024-10-14T07:41:24.002Z] Removing intermediate container 62bea3e2a79f [2024-10-14T07:41:24.002Z] ---> 53ac039981c6 [2024-10-14T07:41:24.002Z] Step 8/13 : WORKDIR /device-usb-camera [2024-10-14T07:41:24.002Z] ---> Running in 421c0946e469 [2024-10-14T07:41:24.262Z] Removing intermediate container 421c0946e469 [2024-10-14T07:41:24.262Z] ---> e8a583854b36 [2024-10-14T07:41:24.262Z] Step 9/13 : COPY go.mod vendor* ./ [2024-10-14T07:41:24.262Z] ---> 40a88e59036c [2024-10-14T07:41:24.262Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:41:24.262Z] ---> Running in 0d4212d3a5f9 [2024-10-14T07:42:10.982Z] Removing intermediate container 0d4212d3a5f9 [2024-10-14T07:42:10.982Z] ---> a843fa9a3e3a [2024-10-14T07:42:10.982Z] Step 11/13 : COPY . . [2024-10-14T07:42:10.982Z] ---> a7035ab21c29 [2024-10-14T07:42:10.982Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T07:42:10.982Z] ---> Running in 37e0dc9e8998 [2024-10-14T07:42:10.982Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:42:10.982Z] Dload Upload Total Spent Left Speed [2024-10-14T07:42:10.982Z]  0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8401 0 --:--:-- --:--:-- --:--:-- 8496 [2024-10-14T07:42:10.982Z] Removing intermediate container 37e0dc9e8998 [2024-10-14T07:42:10.982Z] ---> d34b397bc98a [2024-10-14T07:42:10.982Z] Step 13/13 : RUN ${MAKE} [2024-10-14T07:42:10.982Z] ---> Running in 1e68502c2ce5 [2024-10-14T07:42:10.982Z] noop [2024-10-14T07:42:10.982Z] Removing intermediate container 1e68502c2ce5 [2024-10-14T07:42:10.982Z] ---> a07540040399 [2024-10-14T07:42:10.982Z] Successfully built a07540040399 [2024-10-14T07:42:10.982Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:42:11.482Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:42:11.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:42:11.651Z] prd-ubuntu20.04-docker-8c-8g-22691 does not seem to be running inside a container [2024-10-14T07:42:11.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-356 -v /w/workspace/foundry_device-usb-camera_PR-356:/w/workspace/foundry_device-usb-camera_PR-356:rw,z -v /w/workspace/foundry_device-usb-camera_PR-356@tmp:/w/workspace/foundry_device-usb-camera_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T07:42:12.017Z] $ docker top 6699ff4e727504a55c03a9751dbddcde5d3c7c7c7bf04799f8e8b4a784992895 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:42:12.424Z] + go version [2024-10-14T07:42:12.425Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T07:42:12.460Z] $ docker stop --time=1 6699ff4e727504a55c03a9751dbddcde5d3c7c7c7bf04799f8e8b4a784992895 [2024-10-14T07:42:13.760Z] $ docker rm -f --volumes 6699ff4e727504a55c03a9751dbddcde5d3c7c7c7bf04799f8e8b4a784992895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:42:14.539Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:42:14.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:42:14.706Z] prd-ubuntu20.04-docker-8c-8g-22691 does not seem to be running inside a container [2024-10-14T07:42:14.738Z] $ 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-356 -v /w/workspace/foundry_device-usb-camera_PR-356:/w/workspace/foundry_device-usb-camera_PR-356:rw,z -v /w/workspace/foundry_device-usb-camera_PR-356@tmp:/w/workspace/foundry_device-usb-camera_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T07:42:15.064Z] $ docker top 8838b2c7739a47091eb0d1ec5556dbea05addc4a0760ce92d53f1de6ba7b61af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:42:15.476Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-356 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:42:15.870Z] + make test [2024-10-14T07:42:15.870Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T07:42:17.776Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-10-14T07:42:39.717Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-10-14T07:42:39.717Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 4.4% of statements [2024-10-14T07:42:49.675Z] go vet ./... [2024-10-14T07:42:54.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:42:54.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:42:54.945Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:42:54.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:42:55.037Z] $ docker stop --time=1 8838b2c7739a47091eb0d1ec5556dbea05addc4a0760ce92d53f1de6ba7b61af [2024-10-14T07:42:59.304Z] $ docker rm -f --volumes 8838b2c7739a47091eb0d1ec5556dbea05addc4a0760ce92d53f1de6ba7b61af [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:42:59.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:43:00.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T07:43:00.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:43:01.075Z] + ls -al . [2024-10-14T07:43:01.075Z] total 300 [2024-10-14T07:43:01.075Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:42 . [2024-10-14T07:43:01.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:40 .. [2024-10-14T07:43:01.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:42 .git [2024-10-14T07:43:01.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:40 .github [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 14 07:40 .gitignore [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 203 Oct 14 07:40 .golangci.yml [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 14 07:40 .hadolint.yml [2024-10-14T07:43:01.075Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:41 .semver [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 19367 Oct 14 07:40 Attribution.txt [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 16561 Oct 14 07:40 CHANGELOG.md [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 2453 Oct 14 07:40 Dockerfile [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 14 07:40 GOVERNANCE.md [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 14 07:40 Jenkinsfile [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 07:40 LICENSE [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 3148 Oct 14 07:40 Makefile [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 07:40 OWNERS.md [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 2575 Oct 14 07:40 README.md [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:41 VERSION [2024-10-14T07:43:01.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:40 bin [2024-10-14T07:43:01.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:40 cmd [2024-10-14T07:43:01.075Z] -rw-r--r-- 1 jenkins jenkins 54772 Oct 14 07:42 coverage.out [2024-10-14T07:43:01.075Z] -rwxrwxr-x 1 jenkins jenkins 84 Oct 14 07:40 docker-entrypoint.sh [2024-10-14T07:43:01.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:40 docs [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 7182 Oct 14 07:40 go.mod [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 100524 Oct 14 07:40 go.sum [2024-10-14T07:43:01.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:40 internal [2024-10-14T07:43:01.075Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 14 07:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:43:01.503Z] + 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=b564a465dfea8c8ec571d2cffd941f169125aea6 --label arch=amd64 --label version=0.0.0 . [2024-10-14T07:43:01.503Z] Sending build context to Docker daemon 20.67MB [2024-10-14T07:43:01.503Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:43:01.503Z] Step 2/37 : FROM ${BASE} AS builder [2024-10-14T07:43:01.503Z] ---> a07540040399 [2024-10-14T07:43:01.503Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:43:01.763Z] ---> Running in 7678f87b5aab [2024-10-14T07:43:02.022Z] Removing intermediate container 7678f87b5aab [2024-10-14T07:43:02.022Z] ---> 32c1635cf3e8 [2024-10-14T07:43:02.022Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:43:02.022Z] ---> Running in 0f5de4a65615 [2024-10-14T07:43:02.022Z] Removing intermediate container 0f5de4a65615 [2024-10-14T07:43:02.022Z] ---> 4022e11c4a50 [2024-10-14T07:43:02.022Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T07:43:02.022Z] ---> Running in aea1bab51da9 [2024-10-14T07:43:02.022Z] Removing intermediate container aea1bab51da9 [2024-10-14T07:43:02.022Z] ---> bf612f1a19cd [2024-10-14T07:43:02.022Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T07:43:02.022Z] ---> Running in 96a797e5c8c8 [2024-10-14T07:43:02.280Z] Removing intermediate container 96a797e5c8c8 [2024-10-14T07:43:02.280Z] ---> c0719bb25eb0 [2024-10-14T07:43:02.280Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:43:02.280Z] ---> Running in ae65ab7040d9 [2024-10-14T07:43:02.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:02.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:03.056Z] OK: 253 MiB in 68 packages [2024-10-14T07:43:03.314Z] Removing intermediate container ae65ab7040d9 [2024-10-14T07:43:03.314Z] ---> 737d733bcd83 [2024-10-14T07:43:03.314Z] Step 8/37 : WORKDIR /device-usb-camera [2024-10-14T07:43:03.314Z] ---> Running in f9917b2175ca [2024-10-14T07:43:03.314Z] Removing intermediate container f9917b2175ca [2024-10-14T07:43:03.314Z] ---> a8dfe0058662 [2024-10-14T07:43:03.314Z] Step 9/37 : COPY go.mod vendor* ./ [2024-10-14T07:43:03.571Z] ---> a09a21118800 [2024-10-14T07:43:03.571Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:43:03.571Z] ---> Running in 6d6748464ec2 [2024-10-14T07:43:04.506Z] Removing intermediate container 6d6748464ec2 [2024-10-14T07:43:04.506Z] ---> 4a99c3593132 [2024-10-14T07:43:04.506Z] Step 11/37 : COPY . . [2024-10-14T07:43:05.074Z] ---> 9a6435a7a2af [2024-10-14T07:43:05.074Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T07:43:05.074Z] ---> Running in b6155d5baddc [2024-10-14T07:43:05.335Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:43:05.335Z] Dload Upload  Total Spent Left Speed [2024-10-14T07:43:05.335Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 39989 0 --:--:-- --:--:-- --:--:-- 40846 [2024-10-14T07:43:05.594Z] Removing intermediate container b6155d5baddc [2024-10-14T07:43:05.594Z] ---> 7b83bb07a4ec [2024-10-14T07:43:05.594Z] Step 13/37 : RUN ${MAKE} [2024-10-14T07:43:05.853Z] ---> Running in 43f2c2a65d92 [2024-10-14T07:43:06.113Z] 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.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-10-14T07:43:44.833Z] Removing intermediate container 43f2c2a65d92 [2024-10-14T07:43:44.833Z] ---> dc3bd3ebd1b4 [2024-10-14T07:43:44.833Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-10-14T07:43:44.833Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-10-14T07:43:44.833Z] 8411072a22a5: Pulling fs layer [2024-10-14T07:43:44.833Z] 8411072a22a5: Verifying Checksum [2024-10-14T07:43:44.833Z] 8411072a22a5: Download complete [2024-10-14T07:43:44.833Z] 8411072a22a5: Pull complete [2024-10-14T07:43:44.833Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-10-14T07:43:44.833Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-10-14T07:43:44.834Z] ---> 1ac78cb06e13 [2024-10-14T07:43:44.834Z] Step 15/37 : FROM alpine:3.20 [2024-10-14T07:43:44.834Z] 3.20: Pulling from library/alpine [2024-10-14T07:43:44.834Z] 43c4264eed91: Already exists [2024-10-14T07:43:44.834Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:43:44.834Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:43:44.834Z] ---> 91ef0af61f39 [2024-10-14T07:43:44.834Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-14T07:43:44.834Z] ---> Running in 484d584a8164 [2024-10-14T07:43:45.093Z] Removing intermediate container 484d584a8164 [2024-10-14T07:43:45.093Z] ---> a2909d73c346 [2024-10-14T07:43:45.093Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-10-14T07:43:45.093Z] ---> Running in 56b47d75b748 [2024-10-14T07:43:45.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:45.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:45.921Z] (1/115) Installing dumb-init (1.2.5-r3) [2024-10-14T07:43:45.921Z] (2/115) Installing libSvtAv1Enc (2.0.0-r1) [2024-10-14T07:43:45.921Z] (3/115) Installing aom-libs (3.9.1-r0) [2024-10-14T07:43:45.921Z] (4/115) Installing libxau (1.0.11-r4) [2024-10-14T07:43:45.921Z] (5/115) Installing libmd (1.1.0-r0) [2024-10-14T07:43:46.181Z] (6/115) Installing libbsd (0.12.2-r0) [2024-10-14T07:43:46.181Z] (7/115) Installing libxdmcp (1.1.5-r1) [2024-10-14T07:43:46.181Z] (8/115) Installing libxcb (1.16.1-r0) [2024-10-14T07:43:46.181Z] (9/115) Installing libx11 (1.8.9-r1) [2024-10-14T07:43:46.181Z] (10/115) Installing hwdata-pci (0.382-r0) [2024-10-14T07:43:46.181Z] (11/115) Installing libpciaccess (0.18.1-r0) [2024-10-14T07:43:46.181Z] (12/115) Installing libdrm (2.4.120-r0) [2024-10-14T07:43:46.181Z] (13/115) Installing libxext (1.3.6-r2) [2024-10-14T07:43:46.181Z] (14/115) Installing libxfixes (6.0.1-r4) [2024-10-14T07:43:46.181Z] (15/115) Installing libffi (3.4.6-r0) [2024-10-14T07:43:46.181Z] (16/115) Installing wayland-libs-client (1.22.0-r4) [2024-10-14T07:43:46.181Z] (17/115) Installing libva (2.21.0-r0) [2024-10-14T07:43:46.181Z] (18/115) Installing libvdpau (1.5-r3) [2024-10-14T07:43:46.181Z] (19/115) Installing libgcc (13.2.1_git20240309-r0) [2024-10-14T07:43:46.181Z] (20/115) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-14T07:43:46.181Z] (21/115) Installing onevpl-libs (2023.3.1-r2) [2024-10-14T07:43:46.181Z] (22/115) Installing ffmpeg-libavutil (6.1.1-r8) [2024-10-14T07:43:46.181Z] (23/115) Installing libdav1d (1.4.2-r0) [2024-10-14T07:43:46.181Z] (24/115) Installing openexr-libiex (3.1.13-r1) [2024-10-14T07:43:46.181Z] (25/115) Installing openexr-libilmthread (3.1.13-r1) [2024-10-14T07:43:46.181Z] (26/115) Installing imath (3.1.12-r0) [2024-10-14T07:43:46.181Z] (27/115) Installing openexr-libopenexr (3.1.13-r1) [2024-10-14T07:43:46.181Z] (28/115) Installing brotli-libs (1.1.0-r2) [2024-10-14T07:43:46.181Z] (29/115) Installing giflib (5.2.2-r0) [2024-10-14T07:43:46.181Z] (30/115) Installing libhwy (1.0.7-r0) [2024-10-14T07:43:46.181Z] (31/115) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T07:43:46.181Z] (32/115) Installing lcms2 (2.16-r0) [2024-10-14T07:43:46.181Z] (33/115) Installing libpng (1.6.44-r0) [2024-10-14T07:43:46.181Z] (34/115) Installing libjxl (0.10.2-r0) [2024-10-14T07:43:46.440Z] (35/115) Installing lame-libs (3.100-r5) [2024-10-14T07:43:46.440Z] (36/115) Installing opus (1.5.2-r0) [2024-10-14T07:43:46.440Z] (37/115) Installing rav1e-libs (0.7.1-r0) [2024-10-14T07:43:46.440Z] (38/115) Installing libgomp (13.2.1_git20240309-r0) [2024-10-14T07:43:46.440Z] (39/115) Installing soxr (0.1.3-r7) [2024-10-14T07:43:46.440Z] (40/115) Installing ffmpeg-libswresample (6.1.1-r8) [2024-10-14T07:43:46.440Z] (41/115) Installing libogg (1.3.5-r5) [2024-10-14T07:43:46.440Z] (42/115) Installing libtheora (1.1.1-r18) [2024-10-14T07:43:46.440Z] (43/115) Installing libvorbis (1.3.7-r2) [2024-10-14T07:43:46.440Z] (44/115) Installing libvpx (1.14.1-r0) [2024-10-14T07:43:46.440Z] (45/115) Installing libsharpyuv (1.3.2-r0) [2024-10-14T07:43:46.441Z] (46/115) Installing libwebp (1.3.2-r0) [2024-10-14T07:43:46.441Z] (47/115) Installing libwebpmux (1.3.2-r0) [2024-10-14T07:43:46.441Z] (48/115) Installing x264-libs (0.164_git20231001-r0) [2024-10-14T07:43:46.441Z] (49/115) Installing numactl (2.0.18-r0) [2024-10-14T07:43:46.441Z] (50/115) Installing x265-libs (3.6-r0) [2024-10-14T07:43:46.441Z] (51/115) Installing xvidcore (1.3.7-r2) [2024-10-14T07:43:46.441Z] (52/115) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-10-14T07:43:46.700Z] (53/115) Installing sdl2 (2.28.5-r1) [2024-10-14T07:43:46.700Z] (54/115) Installing alsa-lib (1.2.11-r0) [2024-10-14T07:43:46.700Z] (55/115) Installing libexpat (2.6.3-r0) [2024-10-14T07:43:46.700Z] (56/115) Installing libbz2 (1.0.8-r6) [2024-10-14T07:43:46.700Z] (57/115) Installing freetype (2.13.2-r0) [2024-10-14T07:43:46.700Z] (58/115) Installing fontconfig (2.15.0-r1) [2024-10-14T07:43:46.700Z] (59/115) Installing fribidi (1.0.15-r0) [2024-10-14T07:43:46.700Z] (60/115) Installing libintl (0.22.5-r0) [2024-10-14T07:43:46.700Z] (61/115) Installing libeconf (0.6.3-r0) [2024-10-14T07:43:46.700Z] (62/115) Installing libblkid (2.40.1-r1) [2024-10-14T07:43:46.700Z] (63/115) Installing libmount (2.40.1-r1) [2024-10-14T07:43:46.700Z] (64/115) Installing pcre2 (10.43-r0) [2024-10-14T07:43:46.700Z] (65/115) Installing glib (2.80.5-r0) [2024-10-14T07:43:46.700Z] (66/115) Installing graphite2 (1.3.14-r6) [2024-10-14T07:43:46.700Z] (67/115) Installing harfbuzz (8.5.0-r0) [2024-10-14T07:43:46.700Z] (68/115) Installing libunibreak (6.1-r0) [2024-10-14T07:43:46.700Z] (69/115) Installing libass (0.17.2-r0) [2024-10-14T07:43:46.700Z] (70/115) Installing libbluray (1.3.4-r1) [2024-10-14T07:43:46.960Z] (71/115) Installing mpg123-libs (1.32.6-r0) [2024-10-14T07:43:46.960Z] (72/115) Installing libopenmpt (0.7.7-r0) [2024-10-14T07:43:46.960Z] (73/115) Installing cjson (1.7.18-r0) [2024-10-14T07:43:46.960Z] (74/115) Installing mbedtls (3.6.1-r0) [2024-10-14T07:43:46.960Z] (75/115) Installing librist (0.2.10-r1) [2024-10-14T07:43:46.960Z] (76/115) Installing libsrt (1.5.3-r0) [2024-10-14T07:43:46.960Z] (77/115) Installing libssh (0.10.6-r0) [2024-10-14T07:43:46.960Z] (78/115) Installing xz-libs (5.6.2-r0) [2024-10-14T07:43:46.960Z] (79/115) Installing libxml2 (2.12.7-r0) [2024-10-14T07:43:46.960Z] (80/115) Installing libsodium (1.0.19-r0) [2024-10-14T07:43:46.960Z] (81/115) Installing libzmq (4.3.5-r2) [2024-10-14T07:43:46.960Z] (82/115) Installing ffmpeg-libavformat (6.1.1-r8) [2024-10-14T07:43:46.960Z] (83/115) Installing serd-libs (0.32.2-r0) [2024-10-14T07:43:46.960Z] (84/115) Installing zix-libs (0.4.2-r0) [2024-10-14T07:43:46.960Z] (85/115) Installing sord-libs (0.16.16-r0) [2024-10-14T07:43:46.960Z] (86/115) Installing sratom (0.6.16-r0) [2024-10-14T07:43:46.960Z] (87/115) Installing lilv-libs (0.24.24-r1) [2024-10-14T07:43:46.960Z] (88/115) Installing glslang-libs (1.3.261.1-r0) [2024-10-14T07:43:46.960Z] (89/115) Installing libdovi (3.3.0-r0) [2024-10-14T07:43:46.960Z] (90/115) Installing spirv-tools (1.3.261.1-r0) [2024-10-14T07:43:47.220Z] (91/115) Installing shaderc (2024.0-r0) [2024-10-14T07:43:47.220Z] (92/115) Installing vulkan-loader (1.3.261.1-r0) [2024-10-14T07:43:47.220Z] (93/115) Installing libplacebo (6.338.2-r1) [2024-10-14T07:43:47.220Z] (94/115) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-10-14T07:43:47.220Z] (95/115) Installing ffmpeg-libswscale (6.1.1-r8) [2024-10-14T07:43:47.220Z] (96/115) Installing vidstab (1.1.1-r0) [2024-10-14T07:43:47.220Z] (97/115) Installing zimg (3.0.5-r2) [2024-10-14T07:43:47.220Z] (98/115) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-10-14T07:43:47.220Z] (99/115) Installing libasyncns (0.8-r3) [2024-10-14T07:43:47.220Z] (100/115) Installing dbus-libs (1.14.10-r1) [2024-10-14T07:43:47.220Z] (101/115) Installing libltdl (2.4.7-r3) [2024-10-14T07:43:47.220Z] (102/115) Installing orc (0.4.39-r0) [2024-10-14T07:43:47.220Z] (103/115) Installing libflac (1.4.3-r1) [2024-10-14T07:43:47.220Z] (104/115) Installing libsndfile (1.2.2-r0) [2024-10-14T07:43:47.479Z] (105/115) Installing speexdsp (1.2.1-r2) [2024-10-14T07:43:47.479Z] (106/115) Installing tdb-libs (1.4.9-r1) [2024-10-14T07:43:47.479Z] (107/115) Installing libpulse (17.0-r0) [2024-10-14T07:43:47.479Z] (108/115) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T07:43:47.479Z] (109/115) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-10-14T07:43:47.479Z] (110/115) Installing ffmpeg (6.1.1-r8) [2024-10-14T07:43:47.479Z] (111/115) Installing udev-init-scripts (35-r1) [2024-10-14T07:43:47.479Z] (112/115) Installing eudev-libs (3.2.14-r2) [2024-10-14T07:43:47.479Z] (113/115) Installing zstd-libs (1.5.6-r0) [2024-10-14T07:43:47.479Z] (114/115) Installing kmod-libs (32-r0) [2024-10-14T07:43:47.479Z] (115/115) Installing eudev (3.2.14-r2) [2024-10-14T07:43:47.479Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:43:47.479Z] Executing glib-2.80.5-r0.trigger [2024-10-14T07:43:47.479Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T07:43:47.479Z] OK: 134 MiB in 129 packages [2024-10-14T07:43:51.675Z] Removing intermediate container 56b47d75b748 [2024-10-14T07:43:51.675Z] ---> 621e44192dfe [2024-10-14T07:43:51.675Z] Step 18/37 : RUN apk --no-cache upgrade [2024-10-14T07:43:51.675Z] ---> Running in 0aaecacf2e36 [2024-10-14T07:43:51.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:51.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:51.935Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:43:51.935Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:43:51.935Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:43:51.935Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:43:51.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:52.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:52.468Z] OK: 134 MiB in 129 packages [2024-10-14T07:43:52.727Z] Removing intermediate container 0aaecacf2e36 [2024-10-14T07:43:52.727Z] ---> 5a1f713ae119 [2024-10-14T07:43:52.727Z] Step 19/37 : WORKDIR / [2024-10-14T07:43:52.986Z] ---> Running in 2ff497d52213 [2024-10-14T07:43:52.986Z] Removing intermediate container 2ff497d52213 [2024-10-14T07:43:52.986Z] ---> 0654ccc736e7 [2024-10-14T07:43:52.986Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-10-14T07:43:54.362Z] ---> 8d83ed3288f3 [2024-10-14T07:43:54.362Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-10-14T07:43:54.362Z] ---> 7328a490de0c [2024-10-14T07:43:54.362Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-10-14T07:43:54.622Z] ---> ad579800b43d [2024-10-14T07:43:54.622Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-10-14T07:43:54.622Z] ---> 5aa16f3f138a [2024-10-14T07:43:54.622Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-10-14T07:43:54.880Z] ---> bded557c530f [2024-10-14T07:43:54.880Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-10-14T07:43:54.880Z] ---> 9e558262c04c [2024-10-14T07:43:54.880Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-10-14T07:43:56.072Z] ---> 20a19378e23d [2024-10-14T07:43:56.072Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-10-14T07:43:56.072Z] ---> Running in 0ff7f034074b [2024-10-14T07:43:56.639Z] Removing intermediate container 0ff7f034074b [2024-10-14T07:43:56.639Z] ---> f079d8f09163 [2024-10-14T07:43:56.639Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-10-14T07:43:56.639Z] ---> Running in 977f1aed968c [2024-10-14T07:43:57.207Z] Removing intermediate container 977f1aed968c [2024-10-14T07:43:57.207Z] ---> 0dda12edfe9d [2024-10-14T07:43:57.207Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-10-14T07:43:57.207Z] ---> Running in 0d54c5494ca1 [2024-10-14T07:43:57.775Z] Removing intermediate container 0d54c5494ca1 [2024-10-14T07:43:57.775Z] ---> d3db341d185e [2024-10-14T07:43:57.775Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-10-14T07:43:57.775Z] ---> Running in 263b70dedade [2024-10-14T07:43:58.339Z] Removing intermediate container 263b70dedade [2024-10-14T07:43:58.339Z] ---> 63361cf17519 [2024-10-14T07:43:58.339Z] Step 31/37 : EXPOSE 59983 [2024-10-14T07:43:58.339Z] ---> Running in ddbc697c7f9c [2024-10-14T07:43:58.339Z] Removing intermediate container ddbc697c7f9c [2024-10-14T07:43:58.339Z] ---> bc0d65eeb4b3 [2024-10-14T07:43:58.339Z] Step 32/37 : EXPOSE 8554 [2024-10-14T07:43:58.339Z] ---> Running in e5132f689e32 [2024-10-14T07:43:58.339Z] Removing intermediate container e5132f689e32 [2024-10-14T07:43:58.339Z] ---> 1cf983da4f8c [2024-10-14T07:43:58.339Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-10-14T07:43:58.339Z] ---> Running in d879e0b7adcc [2024-10-14T07:43:58.598Z] Removing intermediate container d879e0b7adcc [2024-10-14T07:43:58.598Z] ---> 96dacd909198 [2024-10-14T07:43:58.598Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-10-14T07:43:58.598Z] ---> Running in 0ebcd2dde4ca [2024-10-14T07:43:58.598Z] Removing intermediate container 0ebcd2dde4ca [2024-10-14T07:43:58.598Z] ---> 06e23d06fe04 [2024-10-14T07:43:58.598Z] Step 35/37 : LABEL arch=amd64 [2024-10-14T07:43:58.598Z] ---> Running in 64040bb840ee [2024-10-14T07:43:58.858Z] Removing intermediate container 64040bb840ee [2024-10-14T07:43:58.858Z] ---> 61f8a95d95a4 [2024-10-14T07:43:58.858Z] Step 36/37 : LABEL git_sha=b564a465dfea8c8ec571d2cffd941f169125aea6 [2024-10-14T07:43:58.858Z] ---> Running in 89ffe39a389a [2024-10-14T07:43:58.858Z] Removing intermediate container 89ffe39a389a [2024-10-14T07:43:58.858Z] ---> 3d6554a7070e [2024-10-14T07:43:58.858Z] Step 37/37 : LABEL version=0.0.0 [2024-10-14T07:43:58.858Z] ---> Running in 5d64e863bb9c [2024-10-14T07:43:58.858Z] Removing intermediate container 5d64e863bb9c [2024-10-14T07:43:58.858Z] ---> 8867d69de715 [2024-10-14T07:43:58.858Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:43:58.858Z] Successfully built 8867d69de715 [2024-10-14T07:43:58.858Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] 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-14T07:43:59.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:43:59.884Z] [2024-10-14T07:43:59.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:44:00.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:44:00.277Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T07:44:00.277Z] 5eb5b503b376: Pulling fs layer [2024-10-14T07:44:00.277Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T07:44:00.277Z] ec43610c2a17: Pulling fs layer [2024-10-14T07:44:00.277Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T07:44:00.277Z] 33b1e0a273af: Pulling fs layer [2024-10-14T07:44:00.277Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T07:44:00.277Z] 2f39f015ded8: Pulling fs layer [2024-10-14T07:44:00.277Z] 3a2ae6a8a46f: Waiting [2024-10-14T07:44:00.277Z] 5d3b04190fa2: Waiting [2024-10-14T07:44:00.277Z] 33b1e0a273af: Waiting [2024-10-14T07:44:00.277Z] 2f39f015ded8: Waiting [2024-10-14T07:44:00.277Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T07:44:00.277Z] 5c69ac0246d0: Download complete [2024-10-14T07:44:00.277Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T07:44:00.277Z] 3a2ae6a8a46f: Download complete [2024-10-14T07:44:00.277Z] 33b1e0a273af: Verifying Checksum [2024-10-14T07:44:00.277Z] 33b1e0a273af: Download complete [2024-10-14T07:44:00.277Z] 5d3b04190fa2: Verifying Checksum [2024-10-14T07:44:00.277Z] 5d3b04190fa2: Download complete [2024-10-14T07:44:00.277Z] ec43610c2a17: Verifying Checksum [2024-10-14T07:44:00.277Z] ec43610c2a17: Download complete [2024-10-14T07:44:00.535Z] 5eb5b503b376: Verifying Checksum [2024-10-14T07:44:00.535Z] 5eb5b503b376: Download complete [2024-10-14T07:44:01.103Z] 2f39f015ded8: Download complete [2024-10-14T07:44:01.672Z] 5eb5b503b376: Pull complete [2024-10-14T07:44:01.931Z] 5c69ac0246d0: Pull complete [2024-10-14T07:44:02.192Z] ec43610c2a17: Pull complete [2024-10-14T07:44:02.192Z] 3a2ae6a8a46f: Pull complete [2024-10-14T07:44:02.484Z] 33b1e0a273af: Pull complete [2024-10-14T07:44:02.484Z] 5d3b04190fa2: Pull complete [2024-10-14T07:44:06.690Z] 2f39f015ded8: Pull complete [2024-10-14T07:44:06.690Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T07:44:06.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:44:06.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:44:06.936Z] prd-ubuntu20.04-docker-8c-8g-22691 does not seem to be running inside a container [2024-10-14T07:44:06.975Z] $ 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-356 -v /w/workspace/foundry_device-usb-camera_PR-356:/w/workspace/foundry_device-usb-camera_PR-356:rw,z -v /w/workspace/foundry_device-usb-camera_PR-356@tmp:/w/workspace/foundry_device-usb-camera_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T07:44:15.305Z] $ docker top 274db894d71b8dc0afae3c4cbb1db221a9fa200efc715ef3956605458c039017 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:44:15.788Z] ---> job-cost.sh [2024-10-14T07:44:15.788Z] lf-activate-venv: SKIPPING [2024-10-14T07:44:15.788Z] INFO: No Stack... [2024-10-14T07:44:16.356Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:44:16.614Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:44:16.933Z] + cat /w/workspace/foundry_device-usb-camera_PR-356/archives/cost.csv [2024-10-14T07:44:16.933Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T07:44:16.984Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] [2024-10-14T07:44:16.991Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] did not exist. Created. [2024-10-14T07:44:16.997Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:44:17.418Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T07:44:17.479Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:44:17.517Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:44:17.603Z] $ docker stop --time=1 274db894d71b8dc0afae3c4cbb1db221a9fa200efc715ef3956605458c039017 [2024-10-14T07:44:18.854Z] $ docker rm -f --volumes 274db894d71b8dc0afae3c4cbb1db221a9fa200efc715ef3956605458c039017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T07:44:57.095Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22693 in /w/workspace/foundry_device-usb-camera_PR-356 [Pipeline] { [Pipeline] ws [2024-10-14T07:44:57.176Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-14T07:45:00.294Z] Selected Git installation does not exist. Using Default [2024-10-14T07:45:00.294Z] The recommended git tool is: NONE [2024-10-14T07:45:06.060Z] using credential edgex-jenkins-ssh [2024-10-14T07:45:06.086Z] Cloning the remote Git repository [2024-10-14T07:45:06.143Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-10-14T07:45:06.265Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2024-10-14T07:45:06.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-10-14T07:45:06.448Z] > git --version # timeout=10 [2024-10-14T07:45:06.472Z] > git --version # 'git version 2.25.1' [2024-10-14T07:45:06.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:45:06.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:45:09.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-10-14T07:45:09.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:45:10.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-10-14T07:45:10.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-10-14T07:45:10.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:45:11.222Z] Merging remotes/origin/main commit f54ffb40a3babb35290dafd3840ebb7d04a6878c into PR head commit b564a465dfea8c8ec571d2cffd941f169125aea6 [2024-10-14T07:45:11.524Z] Merge succeeded, producing b564a465dfea8c8ec571d2cffd941f169125aea6 [2024-10-14T07:45:11.525Z] Checking out Revision b564a465dfea8c8ec571d2cffd941f169125aea6 (PR-356) [2024-10-14T07:45:10.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/356/head:refs/remotes/origin/PR-356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T07:45:11.239Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:45:11.314Z] > git checkout -f b564a465dfea8c8ec571d2cffd941f169125aea6 # timeout=10 [2024-10-14T07:45:11.409Z] > git remote # timeout=10 [2024-10-14T07:45:11.428Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T07:45:11.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:45:11.474Z] > git merge f54ffb40a3babb35290dafd3840ebb7d04a6878c # timeout=10 [2024-10-14T07:45:11.502Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T07:45:11.529Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:45:11.542Z] > git checkout -f b564a465dfea8c8ec571d2cffd941f169125aea6 # timeout=10 [2024-10-14T07:45:15.137Z] Commit message: "feat: Enable PIE support for ASLR and full RELRO" [2024-10-14T07:45:15.262Z] > git --version # timeout=10 [2024-10-14T07:45:15.289Z] > git --version # 'git version 2.25.1' [2024-10-14T07:45:15.315Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:45:17.303Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T07:45:17.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:45:17.303Z] Dload Upload Total Spent Left Speed [2024-10-14T07:45:17.303Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-10-14T07:45:17.675Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T07:45:18.028Z] + sudo tee /etc/docker/daemon.new [2024-10-14T07:45:18.028Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T07:45:18.028Z] { [2024-10-14T07:45:18.028Z] "registry-mirrors": [ [2024-10-14T07:45:18.028Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T07:45:18.028Z] ], [2024-10-14T07:45:18.028Z] "bip": "10.250.0.254/24", [2024-10-14T07:45:18.028Z] "hosts": [ [2024-10-14T07:45:18.028Z] "tcp://0.0.0.0:5555", [2024-10-14T07:45:18.028Z] "unix:///var/run/docker.sock" [2024-10-14T07:45:18.028Z] ], [2024-10-14T07:45:18.028Z] "mtu": 1458, [2024-10-14T07:45:18.028Z] "selinux-enabled": true, [2024-10-14T07:45:18.028Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T07:45:18.028Z] } [Pipeline] sh [2024-10-14T07:45:18.387Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T07:45:18.737Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:45:37.101Z] provisioning config files... [2024-10-14T07:45:37.131Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11036831667394127434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:45:37.634Z] ---> ****-login.sh [2024-10-14T07:45:37.634Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:45:38.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:45:38.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:45:38.225Z] Configure a credential helper to remove this warning. See [2024-10-14T07:45:38.225Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:45:38.225Z] [2024-10-14T07:45:38.225Z] Login Succeeded [2024-10-14T07:45:38.225Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:45:38.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:45:38.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:45:38.494Z] Configure a credential helper to remove this warning. See [2024-10-14T07:45:38.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:45:38.494Z] [2024-10-14T07:45:38.494Z] Login Succeeded [2024-10-14T07:45:38.494Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:45:38.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:45:39.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:45:39.037Z] Configure a credential helper to remove this warning. See [2024-10-14T07:45:39.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:45:39.038Z] [2024-10-14T07:45:39.038Z] Login Succeeded [2024-10-14T07:45:39.038Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:45:39.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:45:39.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:45:39.308Z] Configure a credential helper to remove this warning. See [2024-10-14T07:45:39.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:45:39.308Z] [2024-10-14T07:45:39.308Z] Login Succeeded [2024-10-14T07:45:39.308Z] ****.io [2024-10-14T07:45:39.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:45:39.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:45:39.845Z] Configure a credential helper to remove this warning. See [2024-10-14T07:45:39.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:45:39.845Z] [2024-10-14T07:45:39.845Z] Login Succeeded [2024-10-14T07:45:39.845Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:45:39.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:45:40.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:45:40.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:45:40.465Z] ========================================================= [2024-10-14T07:45:40.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T07:45:40.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:45:41.016Z] + 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-14T07:45:41.621Z] Sending build context to Docker daemon 10.58MB [2024-10-14T07:45:41.621Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:45:41.621Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-14T07:45:41.621Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T07:45:41.621Z] cf04c63912e1: Pulling fs layer [2024-10-14T07:45:41.621Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T07:45:41.621Z] a37a00ec5f00: Pulling fs layer [2024-10-14T07:45:41.621Z] 50b3750afda1: Pulling fs layer [2024-10-14T07:45:41.621Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:45:41.621Z] 80978eb59214: Pulling fs layer [2024-10-14T07:45:41.621Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T07:45:41.621Z] c5a475d317c9: Pulling fs layer [2024-10-14T07:45:41.621Z] 50b3750afda1: Waiting [2024-10-14T07:45:41.621Z] 80978eb59214: Waiting [2024-10-14T07:45:41.621Z] c9f46d7d2bd2: Waiting [2024-10-14T07:45:41.621Z] 4f4fb700ef54: Waiting [2024-10-14T07:45:41.621Z] c5a475d317c9: Waiting [2024-10-14T07:45:41.621Z] 55b35a11ae5e: Download complete [2024-10-14T07:45:41.621Z] 50b3750afda1: Verifying Checksum [2024-10-14T07:45:41.621Z] 50b3750afda1: Download complete [2024-10-14T07:45:41.893Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T07:45:41.893Z] 4f4fb700ef54: Download complete [2024-10-14T07:45:41.893Z] 80978eb59214: Verifying Checksum [2024-10-14T07:45:41.893Z] 80978eb59214: Download complete [2024-10-14T07:45:41.893Z] cf04c63912e1: Verifying Checksum [2024-10-14T07:45:41.893Z] cf04c63912e1: Download complete [2024-10-14T07:45:42.480Z] c5a475d317c9: Verifying Checksum [2024-10-14T07:45:42.480Z] c5a475d317c9: Download complete [2024-10-14T07:45:42.748Z] cf04c63912e1: Pull complete [2024-10-14T07:45:43.335Z] 55b35a11ae5e: Pull complete [2024-10-14T07:45:43.603Z] a37a00ec5f00: Verifying Checksum [2024-10-14T07:45:43.603Z] a37a00ec5f00: Download complete [2024-10-14T07:45:44.567Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T07:45:44.567Z] c9f46d7d2bd2: Download complete [2024-10-14T07:45:56.889Z] a37a00ec5f00: Pull complete [2024-10-14T07:45:57.158Z] 50b3750afda1: Pull complete [2024-10-14T07:45:57.432Z] 4f4fb700ef54: Pull complete [2024-10-14T07:45:57.702Z] 80978eb59214: Pull complete [2024-10-14T07:46:05.970Z] c9f46d7d2bd2: Pull complete [2024-10-14T07:46:07.918Z] c5a475d317c9: Pull complete [2024-10-14T07:46:07.919Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T07:46:07.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T07:46:07.919Z] ---> be29e6b0f0d4 [2024-10-14T07:46:07.919Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:46:08.890Z] ---> Running in b68301c63b9e [2024-10-14T07:46:08.890Z] Removing intermediate container b68301c63b9e [2024-10-14T07:46:08.890Z] ---> a30856ac41d0 [2024-10-14T07:46:08.890Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:46:09.158Z] ---> Running in 81247cbd7414 [2024-10-14T07:46:09.427Z] Removing intermediate container 81247cbd7414 [2024-10-14T07:46:09.427Z] ---> 222085ba47fa [2024-10-14T07:46:09.427Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T07:46:09.427Z] ---> Running in caba1408c941 [2024-10-14T07:46:09.695Z] Removing intermediate container caba1408c941 [2024-10-14T07:46:09.695Z] ---> 2f45f2776417 [2024-10-14T07:46:09.695Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T07:46:09.966Z] ---> Running in 48248c995c8d [2024-10-14T07:46:10.233Z] Removing intermediate container 48248c995c8d [2024-10-14T07:46:10.233Z] ---> d60f96c6a454 [2024-10-14T07:46:10.233Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:46:10.233Z] ---> Running in 16c5ad42d505 [2024-10-14T07:46:11.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:46:11.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:46:13.054Z] (1/14) Installing libintl (0.22.5-r0) [2024-10-14T07:46:13.054Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-10-14T07:46:13.054Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T07:46:13.054Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T07:46:13.054Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-10-14T07:46:13.324Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-10-14T07:46:13.324Z] (7/14) Installing udev-init-scripts (35-r1) [2024-10-14T07:46:13.324Z] (8/14) Installing libeconf (0.6.3-r0) [2024-10-14T07:46:13.324Z] (9/14) Installing libblkid (2.40.1-r1) [2024-10-14T07:46:13.324Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-10-14T07:46:13.324Z] (11/14) Installing kmod-libs (32-r0) [2024-10-14T07:46:13.591Z] (12/14) Installing eudev (3.2.14-r2) [2024-10-14T07:46:13.591Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-10-14T07:46:13.591Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-10-14T07:46:13.591Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:46:13.591Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T07:46:13.867Z] OK: 246 MiB in 68 packages [2024-10-14T07:46:15.282Z] Removing intermediate container 16c5ad42d505 [2024-10-14T07:46:15.282Z] ---> a155b1a5d3b0 [2024-10-14T07:46:15.282Z] Step 8/13 : WORKDIR /device-usb-camera [2024-10-14T07:46:15.282Z] ---> Running in afa8fb77dfb5 [2024-10-14T07:46:15.551Z] Removing intermediate container afa8fb77dfb5 [2024-10-14T07:46:15.551Z] ---> 67566bb61f3d [2024-10-14T07:46:15.551Z] Step 9/13 : COPY go.mod vendor* ./ [2024-10-14T07:46:16.137Z] ---> 9f93995b441b [2024-10-14T07:46:16.137Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:46:16.137Z] ---> Running in 3acb2a0aa7a1 [2024-10-14T07:48:22.870Z] Removing intermediate container 3acb2a0aa7a1 [2024-10-14T07:48:22.871Z] ---> 3bd636ec9496 [2024-10-14T07:48:22.871Z] Step 11/13 : COPY . . [2024-10-14T07:48:22.871Z] ---> df13581b872d [2024-10-14T07:48:22.871Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T07:48:22.871Z] ---> Running in ccdf69110527 [2024-10-14T07:48:22.871Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:48:22.871Z]  Dload Upload Total Spent Left Speed [2024-10-14T07:48:22.871Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4760 0 --:--:-- --:--:-- --:--:-- 4827 [2024-10-14T07:48:22.871Z] Removing intermediate container ccdf69110527 [2024-10-14T07:48:22.871Z] ---> 3805bcc65ea9 [2024-10-14T07:48:22.871Z] Step 13/13 : RUN ${MAKE} [2024-10-14T07:48:22.871Z] ---> Running in 699705992c10 [2024-10-14T07:48:22.871Z] noop [2024-10-14T07:48:22.871Z] Removing intermediate container 699705992c10 [2024-10-14T07:48:22.871Z] ---> fec223745b05 [2024-10-14T07:48:22.871Z] Successfully built fec223745b05 [2024-10-14T07:48:22.871Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:48:23.412Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:48:23.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:48:23.771Z] prd-ubuntu20.04-docker-arm64-4c-16g-22693 does not seem to be running inside a container [2024-10-14T07:48:23.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:48:25.501Z] $ docker top baf7c6aee911d17a1ae895456b09f1ef2f8e09ca7b431fd5edb653412e157332 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:48:26.484Z] + go version [2024-10-14T07:48:26.485Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T07:48:26.526Z] $ docker stop --time=1 baf7c6aee911d17a1ae895456b09f1ef2f8e09ca7b431fd5edb653412e157332 [2024-10-14T07:48:28.291Z] $ docker rm -f --volumes baf7c6aee911d17a1ae895456b09f1ef2f8e09ca7b431fd5edb653412e157332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:48:29.267Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:48:29.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:48:29.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-22693 does not seem to be running inside a container [2024-10-14T07:48:29.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:48:31.202Z] $ docker top 3ba8d6fce4ac551fbc8f592e3be52dbd0e4117aaa412f2c7c7f30e98d659b8a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:48:32.149Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:48:32.888Z] + make test [2024-10-14T07:48:32.888Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T07:48:39.699Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-10-14T07:53:01.726Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-10-14T07:53:16.774Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 4.4% of statements [2024-10-14T07:53:17.755Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T07:53:17.755Z] go vet ./... [2024-10-14T07:54:25.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:54:25.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:54:25.684Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:54:25.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:54:25.779Z] $ docker stop --time=1 3ba8d6fce4ac551fbc8f592e3be52dbd0e4117aaa412f2c7c7f30e98d659b8a1 [2024-10-14T07:54:27.753Z] $ docker rm -f --volumes 3ba8d6fce4ac551fbc8f592e3be52dbd0e4117aaa412f2c7c7f30e98d659b8a1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:54:29.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:54:29.678Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T07:54:30.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:54:31.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:54:31.406Z] + ls -al . [2024-10-14T07:54:31.406Z] total 296 [2024-10-14T07:54:31.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:48 . [2024-10-14T07:54:31.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:45 .. [2024-10-14T07:54:31.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:45 .git [2024-10-14T07:54:31.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:45 .github [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 14 07:45 .gitignore [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 203 Oct 14 07:45 .golangci.yml [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 14 07:45 .hadolint.yml [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 19367 Oct 14 07:45 Attribution.txt [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 16561 Oct 14 07:45 CHANGELOG.md [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 2453 Oct 14 07:45 Dockerfile [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 14 07:45 GOVERNANCE.md [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 14 07:45 Jenkinsfile [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 07:45 LICENSE [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 3148 Oct 14 07:45 Makefile [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 07:45 OWNERS.md [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 2575 Oct 14 07:45 README.md [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:41 VERSION [2024-10-14T07:54:31.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:45 bin [2024-10-14T07:54:31.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:45 cmd [2024-10-14T07:54:31.406Z] -rw-r--r-- 1 jenkins jenkins 54772 Oct 14 07:53 coverage.out [2024-10-14T07:54:31.406Z] -rwxrwxr-x 1 jenkins jenkins 84 Oct 14 07:45 docker-entrypoint.sh [2024-10-14T07:54:31.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:45 docs [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 7182 Oct 14 07:45 go.mod [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 100524 Oct 14 07:45 go.sum [2024-10-14T07:54:31.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:45 internal [2024-10-14T07:54:31.406Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 14 07:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:54:31.862Z] + 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=b564a465dfea8c8ec571d2cffd941f169125aea6 --label arch=arm64 --label version=0.0.0 . [2024-10-14T07:54:32.457Z] Sending build context to Docker daemon 10.63MB [2024-10-14T07:54:32.457Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:54:32.457Z] Step 2/37 : FROM ${BASE} AS builder [2024-10-14T07:54:32.457Z] ---> fec223745b05 [2024-10-14T07:54:32.457Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:54:32.726Z] ---> Running in acf2c96b9a9a [2024-10-14T07:54:32.994Z] Removing intermediate container acf2c96b9a9a [2024-10-14T07:54:32.994Z] ---> 8b7a396548e6 [2024-10-14T07:54:32.994Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:54:33.262Z] ---> Running in 5b706e21ba39 [2024-10-14T07:54:33.537Z] Removing intermediate container 5b706e21ba39 [2024-10-14T07:54:33.537Z] ---> 58486fe50b4c [2024-10-14T07:54:33.537Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T07:54:33.537Z] ---> Running in 7a7d9feda1a9 [2024-10-14T07:54:34.133Z] Removing intermediate container 7a7d9feda1a9 [2024-10-14T07:54:34.133Z] ---> 554eb71eff1f [2024-10-14T07:54:34.133Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T07:54:34.133Z] ---> Running in d3de3be6a27b [2024-10-14T07:54:34.408Z] Removing intermediate container d3de3be6a27b [2024-10-14T07:54:34.408Z] ---> 439b7d40f747 [2024-10-14T07:54:34.408Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:54:34.408Z] ---> Running in 66d15ef3cf50 [2024-10-14T07:54:35.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:54:36.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:54:38.127Z] OK: 246 MiB in 68 packages [2024-10-14T07:54:38.738Z] Removing intermediate container 66d15ef3cf50 [2024-10-14T07:54:38.738Z] ---> b16342cd92c5 [2024-10-14T07:54:38.738Z] Step 8/37 : WORKDIR /device-usb-camera [2024-10-14T07:54:39.005Z] ---> Running in b6617b646a5c [2024-10-14T07:54:39.276Z] Removing intermediate container b6617b646a5c [2024-10-14T07:54:39.276Z] ---> 196a1881d66a [2024-10-14T07:54:39.276Z] Step 9/37 : COPY go.mod vendor* ./ [2024-10-14T07:54:39.860Z] ---> b3d324f38326 [2024-10-14T07:54:39.860Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:54:39.860Z] ---> Running in 7648d5121a06 [2024-10-14T07:54:43.236Z] Removing intermediate container 7648d5121a06 [2024-10-14T07:54:43.236Z] ---> ae9f48f8bcd8 [2024-10-14T07:54:43.236Z] Step 11/37 : COPY . . [2024-10-14T07:54:44.209Z] ---> fe49addf46b8 [2024-10-14T07:54:44.209Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T07:54:44.209Z] ---> Running in 4cbcacd026fa [2024-10-14T07:54:45.637Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:54:45.637Z]   Dload Upload Total Spent  Left Speed [2024-10-14T07:54:45.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 5077 0 --:--:-- --:--:-- --:--:-- 5105 [2024-10-14T07:54:46.600Z] Removing intermediate container 4cbcacd026fa [2024-10-14T07:54:46.600Z] ---> f4abf95ec4d4 [2024-10-14T07:54:46.600Z] Step 13/37 : RUN ${MAKE} [2024-10-14T07:54:46.600Z] ---> Running in 789fb2d4e82c [2024-10-14T07:54:47.565Z] 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.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-10-14T08:00:13.876Z] Removing intermediate container 789fb2d4e82c [2024-10-14T08:00:13.876Z] ---> 2f9adbd61370 [2024-10-14T08:00:13.876Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-10-14T08:00:13.876Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-10-14T08:00:13.876Z] da4d7e05a7aa: Pulling fs layer [2024-10-14T08:00:13.876Z] da4d7e05a7aa: Verifying Checksum [2024-10-14T08:00:13.876Z] da4d7e05a7aa: Download complete [2024-10-14T08:00:13.876Z] da4d7e05a7aa: Pull complete [2024-10-14T08:00:13.876Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-10-14T08:00:13.876Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-10-14T08:00:13.876Z] ---> 62c65ed7ef0d [2024-10-14T08:00:13.876Z] Step 15/37 : FROM alpine:3.20 [2024-10-14T08:00:13.876Z] 3.20: Pulling from library/alpine [2024-10-14T08:00:13.876Z] cf04c63912e1: Already exists [2024-10-14T08:00:13.876Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T08:00:13.876Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T08:00:13.876Z] ---> c157a85ed455 [2024-10-14T08:00:13.876Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-14T08:00:13.876Z] ---> Running in 06e4e9ad9593 [2024-10-14T08:00:13.876Z] Removing intermediate container 06e4e9ad9593 [2024-10-14T08:00:13.876Z] ---> 923d68322cde [2024-10-14T08:00:13.876Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-10-14T08:00:13.876Z] ---> Running in 4f928dc7f164 [2024-10-14T08:00:13.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:13.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:13.876Z] (1/114) Installing dumb-init (1.2.5-r3) [2024-10-14T08:00:13.876Z] (2/114) Installing libSvtAv1Enc (2.0.0-r1) [2024-10-14T08:00:13.876Z] (3/114) Installing aom-libs (3.9.1-r0) [2024-10-14T08:00:13.876Z] (4/114) Installing libxau (1.0.11-r4) [2024-10-14T08:00:13.876Z] (5/114) Installing libmd (1.1.0-r0) [2024-10-14T08:00:13.876Z] (6/114) Installing libbsd (0.12.2-r0) [2024-10-14T08:00:13.876Z] (7/114) Installing libxdmcp (1.1.5-r1) [2024-10-14T08:00:13.876Z] (8/114) Installing libxcb (1.16.1-r0) [2024-10-14T08:00:13.876Z] (9/114) Installing libx11 (1.8.9-r1) [2024-10-14T08:00:13.876Z] (10/114) Installing hwdata-pci (0.382-r0) [2024-10-14T08:00:13.876Z] (11/114) Installing libpciaccess (0.18.1-r0) [2024-10-14T08:00:13.876Z] (12/114) Installing libdrm (2.4.120-r0) [2024-10-14T08:00:13.876Z] (13/114) Installing libxext (1.3.6-r2) [2024-10-14T08:00:13.876Z] (14/114) Installing libxfixes (6.0.1-r4) [2024-10-14T08:00:13.876Z] (15/114) Installing libffi (3.4.6-r0) [2024-10-14T08:00:13.876Z] (16/114) Installing wayland-libs-client (1.22.0-r4) [2024-10-14T08:00:13.876Z] (17/114) Installing libva (2.21.0-r0) [2024-10-14T08:00:13.876Z] (18/114) Installing libvdpau (1.5-r3) [2024-10-14T08:00:13.876Z] (19/114) Installing ffmpeg-libavutil (6.1.1-r8) [2024-10-14T08:00:13.876Z] (20/114) Installing libdav1d (1.4.2-r0) [2024-10-14T08:00:13.876Z] (21/114) Installing libgcc (13.2.1_git20240309-r0) [2024-10-14T08:00:13.876Z] (22/114) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-14T08:00:13.876Z] (23/114) Installing openexr-libiex (3.1.13-r1) [2024-10-14T08:00:13.876Z] (24/114) Installing openexr-libilmthread (3.1.13-r1) [2024-10-14T08:00:13.876Z] (25/114) Installing imath (3.1.12-r0) [2024-10-14T08:00:13.876Z] (26/114) Installing openexr-libopenexr (3.1.13-r1) [2024-10-14T08:00:13.876Z] (27/114) Installing brotli-libs (1.1.0-r2) [2024-10-14T08:00:13.876Z] (28/114) Installing giflib (5.2.2-r0) [2024-10-14T08:00:13.876Z] (29/114) Installing libhwy (1.0.7-r0) [2024-10-14T08:00:13.876Z] (30/114) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T08:00:13.876Z] (31/114) Installing lcms2 (2.16-r0) [2024-10-14T08:00:13.876Z] (32/114) Installing libpng (1.6.44-r0) [2024-10-14T08:00:13.876Z] (33/114) Installing libjxl (0.10.2-r0) [2024-10-14T08:00:13.876Z] (34/114) Installing lame-libs (3.100-r5) [2024-10-14T08:00:13.876Z] (35/114) Installing opus (1.5.2-r0) [2024-10-14T08:00:13.876Z] (36/114) Installing rav1e-libs (0.7.1-r0) [2024-10-14T08:00:13.876Z] (37/114) Installing libgomp (13.2.1_git20240309-r0) [2024-10-14T08:00:13.876Z] (38/114) Installing soxr (0.1.3-r7) [2024-10-14T08:00:13.876Z] (39/114) Installing ffmpeg-libswresample (6.1.1-r8) [2024-10-14T08:00:13.876Z] (40/114) Installing libogg (1.3.5-r5) [2024-10-14T08:00:13.876Z] (41/114) Installing libtheora (1.1.1-r18) [2024-10-14T08:00:13.876Z] (42/114) Installing libvorbis (1.3.7-r2) [2024-10-14T08:00:13.876Z] (43/114) Installing libvpx (1.14.1-r0) [2024-10-14T08:00:13.876Z] (44/114) Installing libsharpyuv (1.3.2-r0) [2024-10-14T08:00:13.876Z] (45/114) Installing libwebp (1.3.2-r0) [2024-10-14T08:00:13.876Z] (46/114) Installing libwebpmux (1.3.2-r0) [2024-10-14T08:00:13.876Z] (47/114) Installing x264-libs (0.164_git20231001-r0) [2024-10-14T08:00:13.876Z] (48/114) Installing numactl (2.0.18-r0) [2024-10-14T08:00:13.876Z] (49/114) Installing x265-libs (3.6-r0) [2024-10-14T08:00:13.876Z] (50/114) Installing xvidcore (1.3.7-r2) [2024-10-14T08:00:13.876Z] (51/114) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-10-14T08:00:13.876Z] (52/114) Installing sdl2 (2.28.5-r1) [2024-10-14T08:00:13.876Z] (53/114) Installing alsa-lib (1.2.11-r0) [2024-10-14T08:00:13.876Z] (54/114) Installing libexpat (2.6.3-r0) [2024-10-14T08:00:13.876Z] (55/114) Installing libbz2 (1.0.8-r6) [2024-10-14T08:00:13.876Z] (56/114) Installing freetype (2.13.2-r0) [2024-10-14T08:00:13.876Z] (57/114) Installing fontconfig (2.15.0-r1) [2024-10-14T08:00:13.876Z] (58/114) Installing fribidi (1.0.15-r0) [2024-10-14T08:00:13.876Z] (59/114) Installing libintl (0.22.5-r0) [2024-10-14T08:00:13.876Z] (60/114) Installing libeconf (0.6.3-r0) [2024-10-14T08:00:13.876Z] (61/114) Installing libblkid (2.40.1-r1) [2024-10-14T08:00:13.876Z] (62/114) Installing libmount (2.40.1-r1) [2024-10-14T08:00:13.876Z] (63/114) Installing pcre2 (10.43-r0) [2024-10-14T08:00:13.876Z] (64/114) Installing glib (2.80.5-r0) [2024-10-14T08:00:13.876Z] (65/114) Installing graphite2 (1.3.14-r6) [2024-10-14T08:00:13.876Z] (66/114) Installing harfbuzz (8.5.0-r0) [2024-10-14T08:00:13.876Z] (67/114) Installing libunibreak (6.1-r0) [2024-10-14T08:00:13.876Z] (68/114) Installing libass (0.17.2-r0) [2024-10-14T08:00:13.876Z] (69/114) Installing libbluray (1.3.4-r1) [2024-10-14T08:00:13.876Z] (70/114) Installing mpg123-libs (1.32.6-r0) [2024-10-14T08:00:13.876Z] (71/114) Installing libopenmpt (0.7.7-r0) [2024-10-14T08:00:13.876Z] (72/114) Installing cjson (1.7.18-r0) [2024-10-14T08:00:13.876Z] (73/114) Installing mbedtls (3.6.1-r0) [2024-10-14T08:00:13.876Z] (74/114) Installing librist (0.2.10-r1) [2024-10-14T08:00:13.876Z] (75/114) Installing libsrt (1.5.3-r0) [2024-10-14T08:00:13.876Z] (76/114) Installing libssh (0.10.6-r0) [2024-10-14T08:00:13.876Z] (77/114) Installing xz-libs (5.6.2-r0) [2024-10-14T08:00:13.876Z] (78/114) Installing libxml2 (2.12.7-r0) [2024-10-14T08:00:13.876Z] (79/114) Installing libsodium (1.0.19-r0) [2024-10-14T08:00:13.876Z] (80/114) Installing libzmq (4.3.5-r2) [2024-10-14T08:00:13.876Z] (81/114) Installing ffmpeg-libavformat (6.1.1-r8) [2024-10-14T08:00:13.876Z] (82/114) Installing serd-libs (0.32.2-r0) [2024-10-14T08:00:13.876Z] (83/114) Installing zix-libs (0.4.2-r0) [2024-10-14T08:00:13.876Z] (84/114) Installing sord-libs (0.16.16-r0) [2024-10-14T08:00:13.876Z] (85/114) Installing sratom (0.6.16-r0) [2024-10-14T08:00:13.876Z] (86/114) Installing lilv-libs (0.24.24-r1) [2024-10-14T08:00:13.876Z] (87/114) Installing glslang-libs (1.3.261.1-r0) [2024-10-14T08:00:13.876Z] (88/114) Installing libdovi (3.3.0-r0) [2024-10-14T08:00:13.876Z] (89/114) Installing spirv-tools (1.3.261.1-r0) [2024-10-14T08:00:13.876Z] (90/114) Installing shaderc (2024.0-r0) [2024-10-14T08:00:13.876Z] (91/114) Installing vulkan-loader (1.3.261.1-r0) [2024-10-14T08:00:13.876Z] (92/114) Installing libplacebo (6.338.2-r1) [2024-10-14T08:00:13.876Z] (93/114) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-10-14T08:00:13.876Z] (94/114) Installing ffmpeg-libswscale (6.1.1-r8) [2024-10-14T08:00:13.876Z] (95/114) Installing vidstab (1.1.1-r0) [2024-10-14T08:00:13.876Z] (96/114) Installing zimg (3.0.5-r2) [2024-10-14T08:00:13.876Z] (97/114) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-10-14T08:00:13.876Z] (98/114) Installing libasyncns (0.8-r3) [2024-10-14T08:00:13.876Z] (99/114) Installing dbus-libs (1.14.10-r1) [2024-10-14T08:00:13.876Z] (100/114) Installing libltdl (2.4.7-r3) [2024-10-14T08:00:13.876Z] (101/114) Installing orc (0.4.39-r0) [2024-10-14T08:00:13.876Z] (102/114) Installing libflac (1.4.3-r1) [2024-10-14T08:00:13.876Z] (103/114) Installing libsndfile (1.2.2-r0) [2024-10-14T08:00:13.876Z] (104/114) Installing speexdsp (1.2.1-r2) [2024-10-14T08:00:13.876Z] (105/114) Installing tdb-libs (1.4.9-r1) [2024-10-14T08:00:13.876Z] (106/114) Installing libpulse (17.0-r0) [2024-10-14T08:00:13.876Z] (107/114) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T08:00:13.876Z] (108/114) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-10-14T08:00:13.876Z] (109/114) Installing ffmpeg (6.1.1-r8) [2024-10-14T08:00:13.876Z] (110/114) Installing udev-init-scripts (35-r1) [2024-10-14T08:00:13.876Z] (111/114) Installing eudev-libs (3.2.14-r2) [2024-10-14T08:00:13.876Z] (112/114) Installing zstd-libs (1.5.6-r0) [2024-10-14T08:00:13.876Z] (113/114) Installing kmod-libs (32-r0) [2024-10-14T08:00:13.876Z] (114/114) Installing eudev (3.2.14-r2) [2024-10-14T08:00:13.876Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T08:00:13.876Z] Executing glib-2.80.5-r0.trigger [2024-10-14T08:00:13.876Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T08:00:13.876Z] OK: 120 MiB in 128 packages [2024-10-14T08:00:17.309Z] Removing intermediate container 4f928dc7f164 [2024-10-14T08:00:17.309Z] ---> 9ade4740eeaa [2024-10-14T08:00:17.309Z] Step 18/37 : RUN apk --no-cache upgrade [2024-10-14T08:00:17.309Z] ---> Running in 47d91fd8b52e [2024-10-14T08:00:17.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:18.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:20.876Z] Upgrading critical system libraries and apk-tools: [2024-10-14T08:00:20.876Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T08:00:20.876Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T08:00:20.876Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T08:00:20.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:24.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:24.738Z] OK: 120 MiB in 128 packages [2024-10-14T08:00:24.738Z] Removing intermediate container 47d91fd8b52e [2024-10-14T08:00:24.738Z] ---> e63d7e5966f1 [2024-10-14T08:00:24.738Z] Step 19/37 : WORKDIR / [2024-10-14T08:00:24.738Z] ---> Running in 4b451ed0dfc5 [2024-10-14T08:00:25.477Z] Removing intermediate container 4b451ed0dfc5 [2024-10-14T08:00:25.477Z] ---> b2c15dfddd6b [2024-10-14T08:00:25.477Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-10-14T08:00:27.897Z] ---> be389c1a23e1 [2024-10-14T08:00:27.897Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-10-14T08:00:28.499Z] ---> bfe5d0da3084 [2024-10-14T08:00:28.499Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-10-14T08:00:28.772Z] ---> 27b164e119f2 [2024-10-14T08:00:28.772Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-10-14T08:00:29.912Z] ---> 8e14d619bca5 [2024-10-14T08:00:29.912Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-10-14T08:00:29.912Z] ---> c55dd0e38f47 [2024-10-14T08:00:29.912Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-10-14T08:00:32.100Z] ---> 41fb209fd3fd [2024-10-14T08:00:32.100Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-10-14T08:00:32.390Z] ---> a806ef75fea2 [2024-10-14T08:00:32.390Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-10-14T08:00:32.390Z] ---> Running in 1fcb4946da22 [2024-10-14T08:00:35.007Z] Removing intermediate container 1fcb4946da22 [2024-10-14T08:00:35.007Z] ---> 574425f84c18 [2024-10-14T08:00:35.007Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-10-14T08:00:35.007Z] ---> Running in 509722915ec1 [2024-10-14T08:00:36.979Z] Removing intermediate container 509722915ec1 [2024-10-14T08:00:36.979Z] ---> 75666d9dbbb3 [2024-10-14T08:00:36.979Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-10-14T08:00:36.979Z] ---> Running in bdf5e1705cc9 [2024-10-14T08:00:38.950Z] Removing intermediate container bdf5e1705cc9 [2024-10-14T08:00:38.950Z] ---> fddf32721caf [2024-10-14T08:00:38.950Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-10-14T08:00:38.950Z] ---> Running in 367985a3ccd6 [2024-10-14T08:00:41.598Z] Removing intermediate container 367985a3ccd6 [2024-10-14T08:00:41.598Z] ---> 72408c1f5253 [2024-10-14T08:00:41.598Z] Step 31/37 : EXPOSE 59983 [2024-10-14T08:00:41.598Z] ---> Running in e26a0b095dda [2024-10-14T08:00:41.879Z] Removing intermediate container e26a0b095dda [2024-10-14T08:00:41.879Z] ---> 6acb776ee682 [2024-10-14T08:00:41.879Z] Step 32/37 : EXPOSE 8554 [2024-10-14T08:00:41.879Z] ---> Running in 30d70eae1ed3 [2024-10-14T08:00:42.485Z] Removing intermediate container 30d70eae1ed3 [2024-10-14T08:00:42.485Z] ---> 0130cadb9a3c [2024-10-14T08:00:42.485Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-10-14T08:00:42.485Z] ---> Running in 55cad50e4055 [2024-10-14T08:00:43.082Z] Removing intermediate container 55cad50e4055 [2024-10-14T08:00:43.082Z] ---> 83f782a0a1e2 [2024-10-14T08:00:43.082Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-10-14T08:00:43.082Z] ---> Running in c6956c5506e4 [2024-10-14T08:00:43.359Z] Removing intermediate container c6956c5506e4 [2024-10-14T08:00:43.359Z] ---> 6922f30785fc [2024-10-14T08:00:43.359Z] Step 35/37 : LABEL arch=arm64 [2024-10-14T08:00:43.632Z] ---> Running in 0ad53280e675 [2024-10-14T08:00:43.907Z] Removing intermediate container 0ad53280e675 [2024-10-14T08:00:43.907Z] ---> ac5fa9ca3182 [2024-10-14T08:00:43.907Z] Step 36/37 : LABEL git_sha=b564a465dfea8c8ec571d2cffd941f169125aea6 [2024-10-14T08:00:44.181Z] ---> Running in 84ad9dcc839e [2024-10-14T08:00:44.457Z] Removing intermediate container 84ad9dcc839e [2024-10-14T08:00:44.457Z] ---> 78d6ea543d13 [2024-10-14T08:00:44.457Z] Step 37/37 : LABEL version=0.0.0 [2024-10-14T08:00:44.457Z] ---> Running in 973fe141439c [2024-10-14T08:00:45.054Z] Removing intermediate container 973fe141439c [2024-10-14T08:00:45.054Z] ---> 5b4a2630308d [2024-10-14T08:00:45.054Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T08:00:45.054Z] Successfully built 5b4a2630308d [2024-10-14T08:00:45.054Z] 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-14T08:00:46.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:00:46.013Z] [2024-10-14T08:00:46.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:00:46.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:00:46.728Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T08:00:46.728Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T08:00:46.728Z] 04944245beec: Pulling fs layer [2024-10-14T08:00:46.728Z] 699f458cf7ca: Pulling fs layer [2024-10-14T08:00:46.728Z] 765212b225bb: Pulling fs layer [2024-10-14T08:00:46.728Z] f23df028b6ca: Pulling fs layer [2024-10-14T08:00:46.728Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T08:00:46.728Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T08:00:46.728Z] 765212b225bb: Waiting [2024-10-14T08:00:46.728Z] d65c8cfc05b1: Waiting [2024-10-14T08:00:46.728Z] 2437ff75d9bd: Waiting [2024-10-14T08:00:46.728Z] f23df028b6ca: Waiting [2024-10-14T08:00:46.728Z] 04944245beec: Verifying Checksum [2024-10-14T08:00:46.728Z] 04944245beec: Download complete [2024-10-14T08:00:46.728Z] 765212b225bb: Verifying Checksum [2024-10-14T08:00:46.728Z] 765212b225bb: Download complete [2024-10-14T08:00:46.728Z] f23df028b6ca: Download complete [2024-10-14T08:00:46.728Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T08:00:46.728Z] d65c8cfc05b1: Download complete [2024-10-14T08:00:46.998Z] 699f458cf7ca: Verifying Checksum [2024-10-14T08:00:46.998Z] 699f458cf7ca: Download complete [2024-10-14T08:00:47.585Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T08:00:47.585Z] 8998bd30e6a1: Download complete [2024-10-14T08:00:50.193Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T08:00:50.193Z] 2437ff75d9bd: Download complete [2024-10-14T08:00:52.805Z] 8998bd30e6a1: Pull complete [2024-10-14T08:00:53.077Z] 04944245beec: Pull complete [2024-10-14T08:00:55.041Z] 699f458cf7ca: Pull complete [2024-10-14T08:00:55.312Z] 765212b225bb: Pull complete [2024-10-14T08:00:56.286Z] f23df028b6ca: Pull complete [2024-10-14T08:00:56.556Z] d65c8cfc05b1: Pull complete [2024-10-14T08:01:14.912Z] 2437ff75d9bd: Pull complete [2024-10-14T08:01:14.912Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T08:01:14.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:01:14.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T08:01:15.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-22693 does not seem to be running inside a container [2024-10-14T08:01:15.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T08:01:19.105Z] $ docker top 7d8fde924b7594303133fd102e9de6c2f33ca9670507b5dbbb0efa9d6ba810fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:20.261Z] ---> job-cost.sh [2024-10-14T08:01:20.261Z] lf-activate-venv: SKIPPING [2024-10-14T08:01:20.261Z] INFO: No Stack... [2024-10-14T08:01:20.855Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T08:01:21.829Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T08:01:22.545Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2024-10-14T08:01:22.545Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T08:01:22.668Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] [2024-10-14T08:01:22.678Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] did not exist. Created. [2024-10-14T08:01:22.685Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T08:01:23.460Z] /w/workspace/device-usb-camera/1@tmp/durable-887c4061/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T08:01:24.164Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T08:01:24.209Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T08:01:24.278Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T08:01:24.302Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-356-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T08:01:24.392Z] $ docker stop --time=1 7d8fde924b7594303133fd102e9de6c2f33ca9670507b5dbbb0efa9d6ba810fe [2024-10-14T08:01:25.992Z] $ docker rm -f --volumes 7d8fde924b7594303133fd102e9de6c2f33ca9670507b5dbbb0efa9d6ba810fe [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-14T08:01:27.165Z] provisioning config files... [2024-10-14T08:01:27.172Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-356@tmp/config915805754997501045tmp [Pipeline] { [Pipeline] sh [2024-10-14T08:01:27.537Z] + set +x [2024-10-14T08:01:27.537Z] + curl -s https://codecov.io/bash [2024-10-14T08:01:27.537Z] + bash -s -- [2024-10-14T08:01:27.537Z] [2024-10-14T08:01:27.537Z] _____ _ [2024-10-14T08:01:27.537Z] / ____| | | [2024-10-14T08:01:27.537Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T08:01:27.537Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T08:01:27.537Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T08:01:27.537Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T08:01:27.537Z] Bash-1.0.6 [2024-10-14T08:01:27.537Z] [2024-10-14T08:01:27.537Z] [2024-10-14T08:01:27.537Z] ==> git version 2.25.1 found [2024-10-14T08:01:27.537Z] ==> 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-14T08:01:27.537Z] Release-Date: 2020-01-08 [2024-10-14T08:01:27.537Z] 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-14T08:01:27.537Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T08:01:27.537Z] ==> Jenkins CI detected. [2024-10-14T08:01:27.537Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-356 [2024-10-14T08:01:27.537Z] project root: . [2024-10-14T08:01:27.537Z] --> token set from env [2024-10-14T08:01:27.537Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T08:01:27.537Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T08:01:27.537Z] ==> Python coveragepy not found [2024-10-14T08:01:27.537Z] ==> Searching for coverage reports in: [2024-10-14T08:01:27.537Z] + . [2024-10-14T08:01:27.537Z] -> Found 1 reports [2024-10-14T08:01:27.537Z] ==> Detecting git/mercurial file structure [2024-10-14T08:01:27.797Z] ==> Reading reports [2024-10-14T08:01:27.797Z] + ./coverage.out bytes=54772 [2024-10-14T08:01:27.797Z] ==> Appending adjustments [2024-10-14T08:01:27.797Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T08:01:27.797Z] + Found adjustments [2024-10-14T08:01:27.797Z] ==> Gzipping contents [2024-10-14T08:01:27.797Z] 8.0K /tmp/codecov.SbZrzc.gz [2024-10-14T08:01:27.797Z] ==> Uploading reports [2024-10-14T08:01:27.797Z] url: https://codecov.io [2024-10-14T08:01:27.797Z] query: branch=PR-356&commit=b564a465dfea8c8ec571d2cffd941f169125aea6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-356%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=356&job=&cmd_args= [2024-10-14T08:01:27.797Z] -> Pinging Codecov [2024-10-14T08:01:27.797Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-356&commit=b564a465dfea8c8ec571d2cffd941f169125aea6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-356%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=356&job=&cmd_args= [2024-10-14T08:01:28.057Z] -> Uploading to [2024-10-14T08:01:28.057Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-usb-camera/b564a465dfea8c8ec571d2cffd941f169125aea6/c488f96a-4ad1-4039-958d-6a4f800b542f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T080127Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=edc0757f289bbd728a9d8b8a7c9e7d81c9eccc411c8a5fabb3da89c366adc9c1 [2024-10-14T08:01:28.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T08:01:28.057Z] Dload Upload Total Spent Left Speed [2024-10-14T08:01:28.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6816 0 0 100 6816 0 31123 --:--:-- --:--:-- --:--:-- 31123 [2024-10-14T08:01:28.317Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b564a465dfea8c8ec571d2cffd941f169125aea6 [Pipeline] } [2024-10-14T08:01:28.349Z] 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-14T08:01:30.538Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-356/archives ] [2024-10-14T08:01:30.538Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-356/archives [2024-10-14T08:01:30.538Z] total 16 [2024-10-14T08:01:30.538Z] drwxr-xr-x 3 root root 4096 Oct 14 07:44 . [2024-10-14T08:01:30.538Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 07:44 .. [2024-10-14T08:01:30.538Z] drwxr-xr-x 2 root root 4096 Oct 14 07:44 cost [2024-10-14T08:01:30.538Z] -rw-r--r-- 1 root root 89 Oct 14 07:44 cost.csv [2024-10-14T08:01:30.538Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-356/archives [2024-10-14T08:01:30.538Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-356/archives [2024-10-14T08:01:30.538Z] total 16 [2024-10-14T08:01:30.538Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:44 . [2024-10-14T08:01:30.538Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 07:44 .. [2024-10-14T08:01:30.538Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 07:44 cost [2024-10-14T08:01:30.538Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 14 07:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:30.880Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:31.850Z] ---> package-listing.sh [2024-10-14T08:01:31.850Z] ++ facter osfamily [2024-10-14T08:01:31.850Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T08:01:32.129Z] + OS_FAMILY=debian [2024-10-14T08:01:32.129Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-356 [2024-10-14T08:01:32.129Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T08:01:32.129Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T08:01:32.129Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T08:01:32.129Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T08:01:32.129Z] + '[' /w/workspace/foundry_device-usb-camera_PR-356 ']' [2024-10-14T08:01:32.129Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T08:01:32.129Z] + case "${OS_FAMILY}" in [2024-10-14T08:01:32.129Z] + dpkg -l [2024-10-14T08:01:32.129Z] + grep '^ii' [2024-10-14T08:01:32.129Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T08:01:32.129Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T08:01:32.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T08:01:32.129Z] + '[' /w/workspace/foundry_device-usb-camera_PR-356 ']' [2024-10-14T08:01:32.129Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-356/archives/ [2024-10-14T08:01:32.129Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-356/archives/ [Pipeline] echo [2024-10-14T08:01:32.280Z] 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-356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T08:01:32.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:01:33.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T08:01:33.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T08:01:33.229Z] prd-ubuntu20.04-docker-8c-8g-22691 does not seem to be running inside a container [2024-10-14T08:01:33.287Z] $ 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-356/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-356 -v /w/workspace/foundry_device-usb-camera_PR-356:/w/workspace/foundry_device-usb-camera_PR-356:rw,z -v /w/workspace/foundry_device-usb-camera_PR-356@tmp:/w/workspace/foundry_device-usb-camera_PR-356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T08:01:33.495Z] $ docker top 5997f6ec35b2a97dccde839d558b840b6d1e5c268f8a8d6e3235ee730a573c1a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T08:01:33.914Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T08:01:34.255Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T08:01:34.577Z] + ls /var/log/sa-host [2024-10-14T08:01:34.577Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T08:01:34.757Z] provisioning config files... [2024-10-14T08:01:34.769Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-356@tmp/config7220393987116498619tmp [Pipeline] { [Pipeline] echo [2024-10-14T08:01:34.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:35.154Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T08:01:35.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:35.601Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T08:01:35.652Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:35.984Z] ---> sudo-logs.sh [2024-10-14T08:01:35.984Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T08:01:36.092Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:36.414Z] ---> job-cost.sh [2024-10-14T08:01:36.414Z] lf-activate-venv: SKIPPING [2024-10-14T08:01:36.414Z] DEBUG: total: 0.2199999988079071 [2024-10-14T08:01:36.414Z] INFO: Retrieving Stack Cost... [2024-10-14T08:01:36.984Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T08:01:37.246Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T08:01:37.293Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:37.623Z] ---> logs-deploy.sh [2024-10-14T08:01:37.623Z] lf-activate-venv: SKIPPING [2024-10-14T08:01:37.623Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-356/1 [2024-10-14T08:01:37.623Z] INFO: archiving workspace using pattern(s): [2024-10-14T08:01:38.568Z] Archives upload complete. [2024-10-14T08:01:38.830Z] INFO: archiving logs to Nexus