Pull request #343 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bba23f4b70125d296a1433c3a52cccf6b00e2c1d+e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 (60cd213c4198a0af0a5b4a30c8efcdc568020957) 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-ssh4593967994281568704.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh10249799552234905509.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 590556114a56c6d90cc8043840e039c2f74196dc 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-343/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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18365676175032298190.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-343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3840017826078870355.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2324803190115721390.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-343/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-343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5250446796342907488.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7307 in /w/workspace/foundry_device-usb-camera_PR-343 [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-343 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 into PR head commit bba23f4b70125d296a1433c3a52cccf6b00e2c1d Merge succeeded, producing bba23f4b70125d296a1433c3a52cccf6b00e2c1d Checking out Revision bba23f4b70125d296a1433c3a52cccf6b00e2c1d (PR-343) > 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/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bba23f4b70125d296a1433c3a52cccf6b00e2c1d # 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 e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bba23f4b70125d296a1433c3a52cccf6b00e2c1d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T17:47:35.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T17:47:35.622Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T17:47:35.743Z] ========================================================= [2024-08-07T17:47:35.743Z] EdgeX Global Pipelines Version Info [2024-08-07T17:47:35.743Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T17:47:36.559Z] ------------------- [2024-08-07T17:47:36.559Z] stable info: [2024-08-07T17:47:36.559Z] ------------------- [2024-08-07T17:47:36.559Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T17:47:36.559Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T17:47:36.559Z] Message: update stable to v1.0.260 [2024-08-07T17:47:37.130Z] ------------------- [2024-08-07T17:47:37.130Z] experimental info: [2024-08-07T17:47:37.130Z] ------------------- [2024-08-07T17:47:37.130Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T17:47:37.130Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T17:47:37.130Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T17:47:37.357Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-08-07T17:47:37.418Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-08-07T17:47:37.474Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T17:47:37.533Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T17:47:37.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T17:47:37.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T17:47:37.704Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T17:47:37.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-07T17:47:37.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T17:47:37.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T17:47:37.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T17:47:37.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-08-07T17:47:38.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T17:47:38.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T17:47:38.146Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T17:47:38.203Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T17:47:38.259Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T17:47:38.319Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T17:47:38.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T17:47:38.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T17:47:38.504Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-07T17:47:38.567Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-07T17:47:38.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T17:47:38.695Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T17:47:38.756Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T17:47:38.813Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T17:47:38.869Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T17:47:38.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo [2024-08-07T17:47:38.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo [2024-08-07T17:47:39.046Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo [2024-08-07T17:47:39.105Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bba23f4b70125d296a1433c3a52cccf6b00e2c1d [Pipeline] echo [2024-08-07T17:47:39.158Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bba23f4 [Pipeline] echo [2024-08-07T17:47:39.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T17:47:39.367Z] provisioning config files... [2024-08-07T17:47:39.381Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-343@tmp/config9117070637214190099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T17:47:39.778Z] ---> ****-login.sh [2024-08-07T17:47:39.778Z] nexus3.edgexfoundry.org:10001 [2024-08-07T17:47:40.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:47:40.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:47:40.038Z] Configure a credential helper to remove this warning. See [2024-08-07T17:47:40.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:47:40.038Z] [2024-08-07T17:47:40.038Z] Login Succeeded [2024-08-07T17:47:40.038Z] nexus3.edgexfoundry.org:10002 [2024-08-07T17:47:40.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:47:40.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:47:40.298Z] Configure a credential helper to remove this warning. See [2024-08-07T17:47:40.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:47:40.298Z] [2024-08-07T17:47:40.298Z] Login Succeeded [2024-08-07T17:47:40.298Z] nexus3.edgexfoundry.org:10003 [2024-08-07T17:47:40.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:47:40.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:47:40.298Z] Configure a credential helper to remove this warning. See [2024-08-07T17:47:40.299Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:47:40.299Z] [2024-08-07T17:47:40.299Z] Login Succeeded [2024-08-07T17:47:40.299Z] nexus3.edgexfoundry.org:10004 [2024-08-07T17:47:40.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:47:40.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:47:40.558Z] Configure a credential helper to remove this warning. See [2024-08-07T17:47:40.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:47:40.558Z] [2024-08-07T17:47:40.558Z] Login Succeeded [2024-08-07T17:47:40.558Z] ****.io [2024-08-07T17:47:40.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:47:40.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:47:40.819Z] Configure a credential helper to remove this warning. See [2024-08-07T17:47:40.819Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:47:40.819Z] [2024-08-07T17:47:40.819Z] Login Succeeded [2024-08-07T17:47:40.819Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T17:47:40.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T17:47:41.549Z] + git rev-list -1 --merges bba23f4b70125d296a1433c3a52cccf6b00e2c1d~1..bba23f4b70125d296a1433c3a52cccf6b00e2c1d [Pipeline] echo [2024-08-07T17:47:41.596Z] -----------> git rev-list -1 --merges bba23f4b70125d296a1433c3a52cccf6b00e2c1d~1..bba23f4b70125d296a1433c3a52cccf6b00e2c1d bba23f4b70125d296a1433c3a52cccf6b00e2c1d [false] [Pipeline] sh [2024-08-07T17:47:41.919Z] + git log --format=format:%s -1 bba23f4b70125d296a1433c3a52cccf6b00e2c1d [Pipeline] echo [2024-08-07T17:47:41.960Z] ========================================================= [2024-08-07T17:47:41.960Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T17:47:41.960Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T17:47:42.424Z] + git log --format=format:%s -1 bba23f4b70125d296a1433c3a52cccf6b00e2c1d [Pipeline] echo [2024-08-07T17:47:42.460Z] [semverPrep] GIT_COMMIT: bba23f4b70125d296a1433c3a52cccf6b00e2c1d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-07T17:47:42.500Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T17:47:42.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T17:47:42.919Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T17:47:42.919Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T17:47:42.919Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T17:47:42.919Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T17:47:42.919Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T17:47:42.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:47:43.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T17:47:43.449Z] [2024-08-07T17:47:43.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:47:43.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T17:47:43.856Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T17:47:43.856Z] b85a868b505f: Pulling fs layer [2024-08-07T17:47:43.856Z] e2be974225ed: Pulling fs layer [2024-08-07T17:47:43.856Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T17:47:43.856Z] 988bab9f4d93: Pulling fs layer [2024-08-07T17:47:43.856Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T17:47:43.856Z] eaf3925da568: Pulling fs layer [2024-08-07T17:47:43.856Z] bab4dde63d76: Pulling fs layer [2024-08-07T17:47:43.856Z] bde34c3a00c8: Pulling fs layer [2024-08-07T17:47:43.856Z] b352a97aabf1: Pulling fs layer [2024-08-07T17:47:43.856Z] 4872d77fe225: Pulling fs layer [2024-08-07T17:47:43.856Z] 5851b861e8e6: Pulling fs layer [2024-08-07T17:47:43.856Z] bab4dde63d76: Waiting [2024-08-07T17:47:43.856Z] bde34c3a00c8: Waiting [2024-08-07T17:47:43.856Z] b352a97aabf1: Waiting [2024-08-07T17:47:43.856Z] 4872d77fe225: Waiting [2024-08-07T17:47:43.856Z] 988bab9f4d93: Waiting [2024-08-07T17:47:43.856Z] 5851b861e8e6: Waiting [2024-08-07T17:47:43.856Z] 1469e6f7b9e6: Waiting [2024-08-07T17:47:43.856Z] eaf3925da568: Waiting [2024-08-07T17:47:43.856Z] e2be974225ed: Download complete [2024-08-07T17:47:43.856Z] 988bab9f4d93: Verifying Checksum [2024-08-07T17:47:43.856Z] 988bab9f4d93: Download complete [2024-08-07T17:47:43.856Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T17:47:43.856Z] 1469e6f7b9e6: Download complete [2024-08-07T17:47:43.856Z] eaf3925da568: Download complete [2024-08-07T17:47:43.856Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T17:47:43.856Z] 339a4e72a1f5: Download complete [2024-08-07T17:47:43.856Z] bde34c3a00c8: Verifying Checksum [2024-08-07T17:47:43.856Z] bde34c3a00c8: Download complete [2024-08-07T17:47:44.117Z] b352a97aabf1: Download complete [2024-08-07T17:47:44.117Z] 4872d77fe225: Verifying Checksum [2024-08-07T17:47:44.117Z] 4872d77fe225: Download complete [2024-08-07T17:47:44.117Z] 5851b861e8e6: Download complete [2024-08-07T17:47:44.117Z] b85a868b505f: Verifying Checksum [2024-08-07T17:47:44.117Z] b85a868b505f: Download complete [2024-08-07T17:47:44.376Z] bab4dde63d76: Download complete [2024-08-07T17:47:45.327Z] b85a868b505f: Pull complete [2024-08-07T17:47:45.327Z] e2be974225ed: Pull complete [2024-08-07T17:47:45.900Z] 339a4e72a1f5: Pull complete [2024-08-07T17:47:45.901Z] 988bab9f4d93: Pull complete [2024-08-07T17:47:46.163Z] 1469e6f7b9e6: Pull complete [2024-08-07T17:47:46.422Z] eaf3925da568: Pull complete [2024-08-07T17:47:47.800Z] bab4dde63d76: Pull complete [2024-08-07T17:47:48.060Z] bde34c3a00c8: Pull complete [2024-08-07T17:47:48.060Z] b352a97aabf1: Pull complete [2024-08-07T17:47:48.060Z] 4872d77fe225: Pull complete [2024-08-07T17:47:48.327Z] 5851b861e8e6: Pull complete [2024-08-07T17:47:48.327Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T17:47:48.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T17:47:48.327Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T17:47:48.637Z] prd-ubuntu20.04-docker-8c-8g-7307 does not seem to be running inside a container [2024-08-07T17:47:48.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-343 -v /w/workspace/foundry_device-usb-camera_PR-343:/w/workspace/foundry_device-usb-camera_PR-343:rw,z -v /w/workspace/foundry_device-usb-camera_PR-343@tmp:/w/workspace/foundry_device-usb-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-07T17:47:51.882Z] $ docker top 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 -eo pid,comm [2024-08-07T17:47:51.939Z] 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-08-07T17:47:51.939Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T17:47:52.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T17:47:52.103Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T17:47:52.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T17:47:52.218Z] $ docker exec 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 ssh-agent [2024-08-07T17:47:52.341Z] SSH_AUTH_SOCK=/tmp/ssh-u0F0magj0tUf/agent.33 [2024-08-07T17:47:52.341Z] SSH_AGENT_PID=39 [2024-08-07T17:47:52.348Z] Running ssh-add (command line suppressed) [2024-08-07T17:47:52.450Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-343@tmp/private_key_10838548630509062911.key (/w/workspace/foundry_device-usb-camera_PR-343@tmp/private_key_10838548630509062911.key) [2024-08-07T17:47:52.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T17:47:52.816Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T17:47:52.843Z] $ docker exec --env ******** --env ******** 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 ssh-agent -k [2024-08-07T17:47:52.951Z] unset SSH_AUTH_SOCK; [2024-08-07T17:47:52.951Z] unset SSH_AGENT_PID; [2024-08-07T17:47:52.951Z] echo Agent pid 39 killed; [2024-08-07T17:47:52.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T17:47:53.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T17:47:53.077Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T17:47:53.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T17:47:53.200Z] $ docker exec 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 ssh-agent [2024-08-07T17:47:53.314Z] SSH_AUTH_SOCK=/tmp/ssh-w2i2rvB1tKN5/agent.72 [2024-08-07T17:47:53.314Z] SSH_AGENT_PID=78 [2024-08-07T17:47:53.319Z] Running ssh-add (command line suppressed) [2024-08-07T17:47:53.413Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-343@tmp/private_key_6150439953847118311.key (/w/workspace/foundry_device-usb-camera_PR-343@tmp/private_key_6150439953847118311.key) [2024-08-07T17:47:53.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T17:47:53.789Z] + git semver init [2024-08-07T17:47:54.077Z] 2024-08-07 17:47:53,953 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T17:47:54.077Z] 2024-08-07 17:47:53,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-343/.semver [2024-08-07T17:47:54.077Z] 2024-08-07 17:47:53,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-343/.semver [2024-08-07T17:47:54.077Z] 2024-08-07 17:47:53,955 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-343/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-343, universal_newlines=False, shell=None, istream=None) [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,529 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-343/.git/info/exclude [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-343/.semver/PR-343 with force:False [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,530 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-343/.semver/PR-343 [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,534 [execute] INFO git cat-file --batch-check [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-343/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,540 [execute] INFO git cat-file --batch [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-343/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T17:47:55.990Z] 2024-08-07 17:47:55,545 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-343/.semver/PR-343 [2024-08-07T17:47:55.990Z] 0.0.0 [Pipeline] } [2024-08-07T17:47:56.017Z] $ docker exec --env ******** --env ******** 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 ssh-agent -k [2024-08-07T17:47:56.121Z] unset SSH_AUTH_SOCK; [2024-08-07T17:47:56.122Z] unset SSH_AGENT_PID; [2024-08-07T17:47:56.122Z] echo Agent pid 78 killed; [2024-08-07T17:47:56.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T17:47:56.604Z] + git semver [Pipeline] } [2024-08-07T17:47:56.886Z] $ docker stop --time=1 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 [2024-08-07T17:47:58.211Z] $ docker rm -f --volumes 508184f0291b41273915df948ea2801773edb0093377ed1737acc1d9b7c39a75 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T17:47:58.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T17:47:59.021Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T17:47:59.049Z] [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-08-07T17:47:59.777Z] provisioning config files... [2024-08-07T17:47:59.786Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-343@tmp/config1639389232626863810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T17:48:00.158Z] ---> ****-login.sh [2024-08-07T17:48:00.158Z] nexus3.edgexfoundry.org:10001 [2024-08-07T17:48:00.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:48:00.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:48:00.158Z] Configure a credential helper to remove this warning. See [2024-08-07T17:48:00.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:48:00.158Z] [2024-08-07T17:48:00.158Z] Login Succeeded [2024-08-07T17:48:00.158Z] nexus3.edgexfoundry.org:10002 [2024-08-07T17:48:00.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:48:00.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:48:00.158Z] Configure a credential helper to remove this warning. See [2024-08-07T17:48:00.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:48:00.158Z] [2024-08-07T17:48:00.158Z] Login Succeeded [2024-08-07T17:48:00.158Z] nexus3.edgexfoundry.org:10003 [2024-08-07T17:48:00.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:48:00.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:48:00.418Z] Configure a credential helper to remove this warning. See [2024-08-07T17:48:00.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:48:00.418Z] [2024-08-07T17:48:00.418Z] Login Succeeded [2024-08-07T17:48:00.418Z] nexus3.edgexfoundry.org:10004 [2024-08-07T17:48:00.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:48:00.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:48:00.418Z] Configure a credential helper to remove this warning. See [2024-08-07T17:48:00.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:48:00.418Z] [2024-08-07T17:48:00.418Z] Login Succeeded [2024-08-07T17:48:00.418Z] ****.io [2024-08-07T17:48:00.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:48:00.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:48:00.677Z] Configure a credential helper to remove this warning. See [2024-08-07T17:48:00.677Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:48:00.677Z] [2024-08-07T17:48:00.677Z] Login Succeeded [2024-08-07T17:48:00.677Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T17:48:00.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T17:48:00.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T17:48:01.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T17:48:01.055Z] ========================================================= [2024-08-07T17:48:01.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T17:48:01.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:48:01.573Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-07T17:48:01.573Z] Sending build context to Docker daemon 20.47MB [2024-08-07T17:48:01.573Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T17:48:01.573Z] Step 2/13 : FROM ${BASE} AS builder [2024-08-07T17:48:01.831Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T17:48:01.831Z] 619be1103602: Pulling fs layer [2024-08-07T17:48:01.831Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T17:48:01.831Z] 5df492c9dc93: Pulling fs layer [2024-08-07T17:48:01.831Z] 7629e6793208: Pulling fs layer [2024-08-07T17:48:01.831Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T17:48:01.831Z] fb5054dd5b73: Pulling fs layer [2024-08-07T17:48:01.831Z] eeca6798cff9: Pulling fs layer [2024-08-07T17:48:01.831Z] aa269ceb94a6: Pulling fs layer [2024-08-07T17:48:01.831Z] ada007ff1a6a: Pulling fs layer [2024-08-07T17:48:01.831Z] fb5054dd5b73: Waiting [2024-08-07T17:48:01.831Z] eeca6798cff9: Waiting [2024-08-07T17:48:01.831Z] aa269ceb94a6: Waiting [2024-08-07T17:48:01.831Z] 7629e6793208: Waiting [2024-08-07T17:48:01.831Z] 7862e08f4a3e: Verifying Checksum [2024-08-07T17:48:01.831Z] 7862e08f4a3e: Download complete [2024-08-07T17:48:01.831Z] 7629e6793208: Verifying Checksum [2024-08-07T17:48:01.831Z] 7629e6793208: Download complete [2024-08-07T17:48:01.831Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T17:48:01.831Z] 4f4fb700ef54: Download complete [2024-08-07T17:48:01.831Z] fb5054dd5b73: Verifying Checksum [2024-08-07T17:48:01.831Z] fb5054dd5b73: Download complete [2024-08-07T17:48:01.831Z] 619be1103602: Verifying Checksum [2024-08-07T17:48:01.831Z] 619be1103602: Download complete [2024-08-07T17:48:01.831Z] eeca6798cff9: Verifying Checksum [2024-08-07T17:48:01.831Z] eeca6798cff9: Download complete [2024-08-07T17:48:01.831Z] 619be1103602: Pull complete [2024-08-07T17:48:02.090Z] ada007ff1a6a: Verifying Checksum [2024-08-07T17:48:02.090Z] ada007ff1a6a: Download complete [2024-08-07T17:48:02.090Z] 7862e08f4a3e: Pull complete [2024-08-07T17:48:02.349Z] 5df492c9dc93: Verifying Checksum [2024-08-07T17:48:02.349Z] 5df492c9dc93: Download complete [2024-08-07T17:48:02.607Z] aa269ceb94a6: Verifying Checksum [2024-08-07T17:48:02.607Z] aa269ceb94a6: Download complete [2024-08-07T17:48:05.891Z] 5df492c9dc93: Pull complete [2024-08-07T17:48:05.891Z] 7629e6793208: Pull complete [2024-08-07T17:48:05.891Z] 4f4fb700ef54: Pull complete [2024-08-07T17:48:05.891Z] fb5054dd5b73: Pull complete [2024-08-07T17:48:05.891Z] eeca6798cff9: Pull complete [2024-08-07T17:48:08.431Z] aa269ceb94a6: Pull complete [2024-08-07T17:48:08.691Z] ada007ff1a6a: Pull complete [2024-08-07T17:48:08.691Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T17:48:08.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T17:48:08.691Z] ---> f489d0715acc [2024-08-07T17:48:08.691Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-08-07T17:48:13.972Z] ---> Running in 10a06ba4676d [2024-08-07T17:48:13.972Z] Removing intermediate container 10a06ba4676d [2024-08-07T17:48:13.972Z] ---> 28101fe8c897 [2024-08-07T17:48:13.972Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T17:48:13.972Z] ---> Running in 53e5eb18b894 [2024-08-07T17:48:13.972Z] Removing intermediate container 53e5eb18b894 [2024-08-07T17:48:13.972Z] ---> e0619ebeadee [2024-08-07T17:48:13.972Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-08-07T17:48:13.972Z] ---> Running in fb3b0b9bbea0 [2024-08-07T17:48:13.972Z] Removing intermediate container fb3b0b9bbea0 [2024-08-07T17:48:13.972Z] ---> f9f5e2740c15 [2024-08-07T17:48:13.972Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-08-07T17:48:13.972Z] ---> Running in 35006ac3d808 [2024-08-07T17:48:13.972Z] Removing intermediate container 35006ac3d808 [2024-08-07T17:48:13.972Z] ---> 954b0f5b691d [2024-08-07T17:48:13.972Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T17:48:13.972Z] ---> Running in 3eaaca05da6b [2024-08-07T17:48:13.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T17:48:14.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T17:48:14.493Z] (1/13) Installing libintl (0.21.1-r7) [2024-08-07T17:48:14.493Z] (2/13) Installing eudev-libs (3.2.11-r8) [2024-08-07T17:48:14.493Z] (3/13) Installing libjpeg-turbo (2.1.5.1-r3) [2024-08-07T17:48:14.493Z] (4/13) Installing v4l-utils-libs (1.24.1-r0) [2024-08-07T17:48:14.493Z] (5/13) Installing v4l-utils (1.24.1-r0) [2024-08-07T17:48:14.493Z] (6/13) Installing libdvbv5 (1.24.1-r0) [2024-08-07T17:48:14.565Z] Still waiting to schedule task [2024-08-07T17:48:14.565Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-07T17:48:14.754Z] (7/13) Installing udev-init-scripts (35-r1) [2024-08-07T17:48:14.755Z] (8/13) Installing libblkid (2.38.1-r8) [2024-08-07T17:48:14.755Z] (9/13) Installing xz-libs (5.4.3-r0) [2024-08-07T17:48:14.755Z] (10/13) Installing kmod-libs (30-r3) [2024-08-07T17:48:14.755Z] (11/13) Installing eudev (3.2.11-r8) [2024-08-07T17:48:14.755Z] (12/13) Installing eudev-dev (3.2.11-r8) [2024-08-07T17:48:14.755Z] (13/13) Installing v4l-utils-dev (1.24.1-r0) [2024-08-07T17:48:15.014Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T17:48:15.014Z] Executing eudev-3.2.11-r8.trigger [2024-08-07T17:48:15.014Z] OK: 271 MiB in 65 packages [2024-08-07T17:48:15.580Z] Removing intermediate container 3eaaca05da6b [2024-08-07T17:48:15.580Z] ---> a3f95b75afe9 [2024-08-07T17:48:15.580Z] Step 8/13 : WORKDIR /device-usb-camera [2024-08-07T17:48:15.580Z] ---> Running in 988bf451da34 [2024-08-07T17:48:15.580Z] Removing intermediate container 988bf451da34 [2024-08-07T17:48:15.580Z] ---> 7fcb39364613 [2024-08-07T17:48:15.580Z] Step 9/13 : COPY go.mod vendor* ./ [2024-08-07T17:48:15.837Z] ---> d23e6882def9 [2024-08-07T17:48:15.837Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T17:48:15.837Z] ---> Running in 91555ccc13d6 [2024-08-07T17:49:23.623Z] Removing intermediate container 91555ccc13d6 [2024-08-07T17:49:23.623Z] ---> 9ef1139df085 [2024-08-07T17:49:23.623Z] Step 11/13 : COPY . . [2024-08-07T17:49:23.623Z] ---> a0ef2aa2964d [2024-08-07T17:49:23.623Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-08-07T17:49:23.623Z] ---> Running in b06f3d772dc0 [2024-08-07T17:49:23.623Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T17:49:23.623Z] Dload Upload Total Spent Left Speed [2024-08-07T17:49:23.623Z]  0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9258 0 --:--:-- --:--:-- --:--:-- 9234 [2024-08-07T17:49:23.623Z] Removing intermediate container b06f3d772dc0 [2024-08-07T17:49:23.623Z] ---> 0b4003de2811 [2024-08-07T17:49:23.623Z] Step 13/13 : RUN ${MAKE} [2024-08-07T17:49:23.623Z] ---> Running in cb78233d7843 [2024-08-07T17:49:23.623Z] noop [2024-08-07T17:49:23.623Z] Removing intermediate container cb78233d7843 [2024-08-07T17:49:23.623Z] ---> 006792f5411f [2024-08-07T17:49:23.623Z] Successfully built 006792f5411f [2024-08-07T17:49:23.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:49:24.104Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T17:49:24.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T17:49:24.278Z] prd-ubuntu20.04-docker-8c-8g-7307 does not seem to be running inside a container [2024-08-07T17:49:24.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-343 -v /w/workspace/foundry_device-usb-camera_PR-343:/w/workspace/foundry_device-usb-camera_PR-343:rw,z -v /w/workspace/foundry_device-usb-camera_PR-343@tmp:/w/workspace/foundry_device-usb-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-07T17:49:24.646Z] $ docker top 7545602309be9fee886c5ed82cd362ebdaf129fa7764761f2dbee9b9acda97ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T17:49:25.062Z] + go version [2024-08-07T17:49:25.062Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T17:49:25.097Z] $ docker stop --time=1 7545602309be9fee886c5ed82cd362ebdaf129fa7764761f2dbee9b9acda97ed [2024-08-07T17:49:26.414Z] $ docker rm -f --volumes 7545602309be9fee886c5ed82cd362ebdaf129fa7764761f2dbee9b9acda97ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:49:27.202Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T17:49:27.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T17:49:27.376Z] prd-ubuntu20.04-docker-8c-8g-7307 does not seem to be running inside a container [2024-08-07T17:49:27.402Z] $ 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-343 -v /w/workspace/foundry_device-usb-camera_PR-343:/w/workspace/foundry_device-usb-camera_PR-343:rw,z -v /w/workspace/foundry_device-usb-camera_PR-343@tmp:/w/workspace/foundry_device-usb-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-07T17:49:27.735Z] $ docker top 81c81e903ea85a9c7f853eb52590b28620162d2b84c7122f0d94bdd37e1000a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T17:49:28.143Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-343 [Pipeline] fileExists [Pipeline] sh [2024-08-07T17:49:28.523Z] + make test [2024-08-07T17:49:28.523Z] go test ./... -coverprofile=coverage.out ./... [2024-08-07T17:49:30.424Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-08-07T17:49:44.051Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7308 in /w/workspace/foundry_device-usb-camera_PR-343 [Pipeline] { [Pipeline] ws [2024-08-07T17:49:44.130Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2024-08-07T17:49:47.250Z] Selected Git installation does not exist. Using Default [2024-08-07T17:49:47.250Z] The recommended git tool is: NONE [2024-08-07T17:49:48.499Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2024-08-07T17:49:48.759Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 4.4% of statements [2024-08-07T17:49:51.536Z] using credential edgex-jenkins-ssh [2024-08-07T17:49:51.560Z] Cloning the remote Git repository [2024-08-07T17:49:51.590Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-08-07T17:49:51.670Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2024-08-07T17:49:51.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-08-07T17:49:51.800Z] > git --version # timeout=10 [2024-08-07T17:49:51.820Z] > git --version # 'git version 2.25.1' [2024-08-07T17:49:51.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T17:49:51.946Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T17:49:54.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-08-07T17:49:54.541Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T17:49:55.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-08-07T17:49:55.399Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-08-07T17:49:55.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T17:49:55.422Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T17:49:55.967Z] Merging remotes/origin/main commit e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 into PR head commit bba23f4b70125d296a1433c3a52cccf6b00e2c1d [2024-08-07T17:49:56.246Z] Merge succeeded, producing bba23f4b70125d296a1433c3a52cccf6b00e2c1d [2024-08-07T17:49:56.247Z] Checking out Revision bba23f4b70125d296a1433c3a52cccf6b00e2c1d (PR-343) [2024-08-07T17:49:56.755Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-07T17:49:56.796Z] > git --version # timeout=10 [2024-08-07T17:49:56.806Z] > git --version # 'git version 2.25.1' [2024-08-07T17:49:56.825Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T17:49:55.978Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T17:49:56.035Z] > git checkout -f bba23f4b70125d296a1433c3a52cccf6b00e2c1d # timeout=10 [2024-08-07T17:49:56.131Z] > git remote # timeout=10 [2024-08-07T17:49:56.152Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T17:49:56.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T17:49:56.193Z] > git merge e5c4d19c030db5bc8d8c7617b5b2b197dfec93d1 # timeout=10 [2024-08-07T17:49:56.226Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T17:49:56.245Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T17:49:56.257Z] > git checkout -f bba23f4b70125d296a1433c3a52cccf6b00e2c1d # timeout=10 [2024-08-07T17:50:00.965Z] go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T17:50:01.757Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T17:50:01.757Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T17:50:01.757Z] Dload Upload Total Spent Left Speed [2024-08-07T17:50:01.757Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 79677 0 --:--:-- --:--:-- --:--:-- 79677 [Pipeline] sh [2024-08-07T17:50:02.103Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T17:50:02.455Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T17:50:02.455Z] + sudo tee /etc/docker/daemon.new [2024-08-07T17:50:02.455Z] { [2024-08-07T17:50:02.455Z] "registry-mirrors": [ [2024-08-07T17:50:02.455Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T17:50:02.455Z] ], [2024-08-07T17:50:02.455Z] "bip": "10.250.0.254/24", [2024-08-07T17:50:02.455Z] "hosts": [ [2024-08-07T17:50:02.455Z] "tcp://0.0.0.0:5555", [2024-08-07T17:50:02.455Z] "unix:///var/run/docker.sock" [2024-08-07T17:50:02.455Z] ], [2024-08-07T17:50:02.455Z] "mtu": 1458, [2024-08-07T17:50:02.455Z] "selinux-enabled": true, [2024-08-07T17:50:02.455Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T17:50:02.455Z] } [Pipeline] sh [2024-08-07T17:50:02.802Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T17:50:03.152Z] + sudo service docker restart [2024-08-07T17:50:06.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T17:50:06.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T17:50:06.224Z] ./bin/test-attribution-txt.sh [2024-08-07T17:50:06.224Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add [2024-08-07T17:50:06.224Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T17:50:06.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T17:50:06.319Z] $ docker stop --time=1 81c81e903ea85a9c7f853eb52590b28620162d2b84c7122f0d94bdd37e1000a0 [2024-08-07T17:50:11.683Z] $ docker rm -f --volumes 81c81e903ea85a9c7f853eb52590b28620162d2b84c7122f0d94bdd37e1000a0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T17:50:27.835Z] provisioning config files... [2024-08-07T17:50:27.863Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8550500793250718599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T17:50:27.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T17:50:28.193Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2024-08-07T17:50:28.338Z] ---> ****-login.sh [2024-08-07T17:50:28.338Z] nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-08-07T17:50:28.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2024-08-07T17:50:28.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:50:28.965Z] Configure a credential helper to remove this warning. See [2024-08-07T17:50:28.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:50:28.965Z] [2024-08-07T17:50:28.965Z] Login Succeeded [2024-08-07T17:50:28.965Z] nexus3.edgexfoundry.org:10002 [2024-08-07T17:50:28.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T17:50:29.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:50:29.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:50:29.235Z] Configure a credential helper to remove this warning. See [2024-08-07T17:50:29.235Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:50:29.235Z] [2024-08-07T17:50:29.235Z] Login Succeeded [2024-08-07T17:50:29.235Z] nexus3.edgexfoundry.org:10003 [2024-08-07T17:50:29.315Z] + ls -al . [2024-08-07T17:50:29.315Z] total 292 [2024-08-07T17:50:29.315Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 17:49 . [2024-08-07T17:50:29.315Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 17:47 .. [2024-08-07T17:50:29.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 17:49 .git [2024-08-07T17:50:29.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 17:47 .github [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 379 Aug 7 17:47 .gitignore [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 7 17:47 .golangci.yml [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 7 17:47 .hadolint.yml [2024-08-07T17:50:29.315Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 17:47 .semver [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 10870 Aug 7 17:47 Attribution.txt [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 16561 Aug 7 17:47 CHANGELOG.md [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 7 17:47 Dockerfile [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 7 17:47 GOVERNANCE.md [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 7 17:47 Jenkinsfile [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 7 17:47 LICENSE [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 2611 Aug 7 17:47 Makefile [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 7 17:47 OWNERS.md [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 7 17:47 README.md [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 17:47 VERSION [2024-08-07T17:50:29.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 17:47 bin [2024-08-07T17:50:29.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 17:47 cmd [2024-08-07T17:50:29.315Z] -rw-r--r-- 1 jenkins jenkins 54703 Aug 7 17:49 coverage.out [2024-08-07T17:50:29.315Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 7 17:47 docker-entrypoint.sh [2024-08-07T17:50:29.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 17:47 docs [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 7210 Aug 7 17:47 go.mod [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 102021 Aug 7 17:47 go.sum [2024-08-07T17:50:29.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 17:47 internal [2024-08-07T17:50:29.315Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 7 17:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:50:29.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:50:29.735Z] + 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=bba23f4b70125d296a1433c3a52cccf6b00e2c1d --label arch=amd64 --label version=0.0.0 . [2024-08-07T17:50:29.735Z] Sending build context to Docker daemon 20.53MB [2024-08-07T17:50:29.735Z] Step 1/37 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T17:50:29.735Z] Step 2/37 : FROM ${BASE} AS builder [2024-08-07T17:50:29.735Z] ---> 006792f5411f [2024-08-07T17:50:29.735Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-08-07T17:50:29.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:50:29.773Z] Configure a credential helper to remove this warning. See [2024-08-07T17:50:29.773Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:50:29.773Z] [2024-08-07T17:50:29.773Z] Login Succeeded [2024-08-07T17:50:29.773Z] nexus3.edgexfoundry.org:10004 [2024-08-07T17:50:29.995Z] ---> Running in 40a647952c1f [2024-08-07T17:50:30.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:50:30.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:50:30.046Z] Configure a credential helper to remove this warning. See [2024-08-07T17:50:30.046Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:50:30.046Z] [2024-08-07T17:50:30.046Z] Login Succeeded [2024-08-07T17:50:30.046Z] ****.io [2024-08-07T17:50:30.255Z] Removing intermediate container 40a647952c1f [2024-08-07T17:50:30.255Z] ---> be334f7a7ddb [2024-08-07T17:50:30.255Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T17:50:30.255Z] ---> Running in ceca6a750281 [2024-08-07T17:50:30.255Z] Removing intermediate container ceca6a750281 [2024-08-07T17:50:30.255Z] ---> 36dcc8a1b789 [2024-08-07T17:50:30.255Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-08-07T17:50:30.255Z] ---> Running in 63610d91d57a [2024-08-07T17:50:30.255Z] Removing intermediate container 63610d91d57a [2024-08-07T17:50:30.255Z] ---> d365926df4f0 [2024-08-07T17:50:30.255Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-08-07T17:50:30.255Z] ---> Running in 7972d0beafa1 [2024-08-07T17:50:30.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T17:50:30.517Z] Removing intermediate container 7972d0beafa1 [2024-08-07T17:50:30.517Z] ---> 8173a477e3ed [2024-08-07T17:50:30.517Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T17:50:30.517Z] ---> Running in 250e367c16e3 [2024-08-07T17:50:30.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T17:50:30.581Z] Configure a credential helper to remove this warning. See [2024-08-07T17:50:30.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T17:50:30.581Z] [2024-08-07T17:50:30.581Z] Login Succeeded [2024-08-07T17:50:30.581Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T17:50:30.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2024-08-07T17:50:30.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] unstash [2024-08-07T17:50:31.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] echo [2024-08-07T17:50:31.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T17:50:31.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T17:50:31.185Z] ========================================================= [2024-08-07T17:50:31.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T17:50:31.185Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-08-07T17:50:31.293Z] OK: 271 MiB in 65 packages [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:50:31.552Z] Removing intermediate container 250e367c16e3 [2024-08-07T17:50:31.552Z] ---> 7078b8f7e513 [2024-08-07T17:50:31.552Z] Step 8/37 : WORKDIR /device-usb-camera [2024-08-07T17:50:31.552Z] ---> Running in 18673fb5ac0f [2024-08-07T17:50:31.552Z] Removing intermediate container 18673fb5ac0f [2024-08-07T17:50:31.552Z] ---> f35ad422dd47 [2024-08-07T17:50:31.552Z] Step 9/37 : COPY go.mod vendor* ./ [2024-08-07T17:50:31.552Z] ---> 79f30c13c196 [2024-08-07T17:50:31.552Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T17:50:31.762Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-07T17:50:31.814Z] ---> Running in d5dd7cc5fadd [2024-08-07T17:50:32.355Z] Sending build context to Docker daemon 10.5MB [2024-08-07T17:50:32.355Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T17:50:32.355Z] Step 2/13 : FROM ${BASE} AS builder [2024-08-07T17:50:32.355Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T17:50:32.355Z] c6b39de5b339: Pulling fs layer [2024-08-07T17:50:32.355Z] a69c41024577: Pulling fs layer [2024-08-07T17:50:32.355Z] d6de4b400683: Pulling fs layer [2024-08-07T17:50:32.355Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T17:50:32.355Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T17:50:32.355Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T17:50:32.355Z] 00f215d4a9da: Pulling fs layer [2024-08-07T17:50:32.355Z] d496ad576159: Pulling fs layer [2024-08-07T17:50:32.355Z] 4f4fb700ef54: Waiting [2024-08-07T17:50:32.355Z] 464afbd9ba4c: Waiting [2024-08-07T17:50:32.355Z] 00f215d4a9da: Waiting [2024-08-07T17:50:32.355Z] d496ad576159: Waiting [2024-08-07T17:50:32.355Z] 35cb2a7552d0: Waiting [2024-08-07T17:50:32.355Z] a69c41024577: Download complete [2024-08-07T17:50:32.380Z] Removing intermediate container d5dd7cc5fadd [2024-08-07T17:50:32.381Z] ---> addfa0a8e1f3 [2024-08-07T17:50:32.381Z] Step 11/37 : COPY . . [2024-08-07T17:50:32.625Z] 35cb2a7552d0: Verifying Checksum [2024-08-07T17:50:32.625Z] 35cb2a7552d0: Download complete [2024-08-07T17:50:32.625Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T17:50:32.625Z] 4f4fb700ef54: Download complete [2024-08-07T17:50:32.625Z] 464afbd9ba4c: Download complete [2024-08-07T17:50:32.625Z] c6b39de5b339: Download complete [2024-08-07T17:50:32.895Z] d496ad576159: Verifying Checksum [2024-08-07T17:50:32.895Z] d496ad576159: Download complete [2024-08-07T17:50:33.316Z] ---> e2fce47fd0eb [2024-08-07T17:50:33.316Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-08-07T17:50:33.316Z] ---> Running in b7bc158e3b14 [2024-08-07T17:50:33.484Z] c6b39de5b339: Pull complete [2024-08-07T17:50:33.574Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T17:50:33.574Z] Dload Upload Total Spent Left Speed [2024-08-07T17:50:33.574Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 31800 0 --:--:-- --:--:-- --:--:-- 32181 [2024-08-07T17:50:33.832Z] Removing intermediate container b7bc158e3b14 [2024-08-07T17:50:33.832Z] ---> 4cc8a22c63e1 [2024-08-07T17:50:33.832Z] Step 13/37 : RUN ${MAKE} [2024-08-07T17:50:33.832Z] ---> Running in f4bf6a95b1d9 [2024-08-07T17:50:34.070Z] a69c41024577: Pull complete [2024-08-07T17:50:34.091Z] 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.30" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2024-08-07T17:50:34.339Z] d6de4b400683: Verifying Checksum [2024-08-07T17:50:34.340Z] d6de4b400683: Download complete [2024-08-07T17:50:35.304Z] 00f215d4a9da: Download complete [2024-08-07T17:50:47.626Z] d6de4b400683: Pull complete [2024-08-07T17:50:47.626Z] 35cb2a7552d0: Pull complete [2024-08-07T17:50:47.626Z] 4f4fb700ef54: Pull complete [2024-08-07T17:50:47.626Z] 464afbd9ba4c: Pull complete [2024-08-07T17:50:55.840Z] 00f215d4a9da: Pull complete [2024-08-07T17:50:57.789Z] d496ad576159: Pull complete [2024-08-07T17:50:57.789Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T17:50:57.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T17:50:57.789Z] ---> f246e2811388 [2024-08-07T17:50:57.789Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-08-07T17:50:59.198Z] ---> Running in 50dc5f021baf [2024-08-07T17:50:59.198Z] Removing intermediate container 50dc5f021baf [2024-08-07T17:50:59.198Z] ---> 99b6df7e1656 [2024-08-07T17:50:59.198Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T17:50:59.198Z] ---> Running in 7b917cc2ec03 [2024-08-07T17:50:59.465Z] Removing intermediate container 7b917cc2ec03 [2024-08-07T17:50:59.465Z] ---> 0804925104db [2024-08-07T17:50:59.465Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-08-07T17:50:59.732Z] ---> Running in 6e721fcc15e1 [2024-08-07T17:50:59.999Z] Removing intermediate container 6e721fcc15e1 [2024-08-07T17:50:59.999Z] ---> 603bb97f028f [2024-08-07T17:50:59.999Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-08-07T17:50:59.999Z] ---> Running in cd37cfb605e5 [2024-08-07T17:51:00.267Z] Removing intermediate container cd37cfb605e5 [2024-08-07T17:51:00.267Z] ---> c3fa61b80241 [2024-08-07T17:51:00.267Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T17:51:00.267Z] ---> Running in c06dcfaefa60 [2024-08-07T17:51:01.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T17:51:01.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T17:51:02.911Z] (1/13) Installing libintl (0.21.1-r7) [2024-08-07T17:51:02.911Z] (2/13) Installing eudev-libs (3.2.11-r8) [2024-08-07T17:51:02.911Z] (3/13) Installing libjpeg-turbo (2.1.5.1-r3) [2024-08-07T17:51:02.911Z] (4/13) Installing v4l-utils-libs (1.24.1-r0) [2024-08-07T17:51:02.911Z] (5/13) Installing v4l-utils (1.24.1-r0) [2024-08-07T17:51:03.176Z] (6/13) Installing libdvbv5 (1.24.1-r0) [2024-08-07T17:51:03.176Z] (7/13) Installing udev-init-scripts (35-r1) [2024-08-07T17:51:03.176Z] (8/13) Installing libblkid (2.38.1-r8) [2024-08-07T17:51:03.176Z] (9/13) Installing xz-libs (5.4.3-r0) [2024-08-07T17:51:03.176Z] (10/13) Installing kmod-libs (30-r3) [2024-08-07T17:51:03.176Z] (11/13) Installing eudev (3.2.11-r8) [2024-08-07T17:51:03.176Z] (12/13) Installing eudev-dev (3.2.11-r8) [2024-08-07T17:51:03.441Z] (13/13) Installing v4l-utils-dev (1.24.1-r0) [2024-08-07T17:51:03.441Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T17:51:03.441Z] Executing eudev-3.2.11-r8.trigger [2024-08-07T17:51:03.708Z] OK: 273 MiB in 65 packages [2024-08-07T17:51:04.674Z] Removing intermediate container c06dcfaefa60 [2024-08-07T17:51:04.674Z] ---> 9cfab07ba903 [2024-08-07T17:51:04.674Z] Step 8/13 : WORKDIR /device-usb-camera [2024-08-07T17:51:04.941Z] ---> Running in 99858869efe6 [2024-08-07T17:51:05.208Z] Removing intermediate container 99858869efe6 [2024-08-07T17:51:05.208Z] ---> f61e15d48272 [2024-08-07T17:51:05.208Z] Step 9/13 : COPY go.mod vendor* ./ [2024-08-07T17:51:05.813Z] ---> 37d2e03452a6 [2024-08-07T17:51:05.813Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T17:51:05.813Z] ---> Running in 7dc5a8b0715a [2024-08-07T17:51:12.812Z] Removing intermediate container f4bf6a95b1d9 [2024-08-07T17:51:12.812Z] ---> 6d9714d869e7 [2024-08-07T17:51:12.812Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-08-07T17:51:12.812Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-08-07T17:51:12.812Z] 8411072a22a5: Pulling fs layer [2024-08-07T17:51:12.812Z] 8411072a22a5: Verifying Checksum [2024-08-07T17:51:12.812Z] 8411072a22a5: Download complete [2024-08-07T17:51:12.812Z] 8411072a22a5: Pull complete [2024-08-07T17:51:12.812Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-08-07T17:51:12.812Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-08-07T17:51:12.812Z] ---> 1ac78cb06e13 [2024-08-07T17:51:12.812Z] Step 15/37 : FROM alpine:3.18 [2024-08-07T17:51:12.812Z] 3.18: Pulling from library/alpine [2024-08-07T17:51:12.812Z] 930bdd4d222e: Pulling fs layer [2024-08-07T17:51:12.812Z] 930bdd4d222e: Verifying Checksum [2024-08-07T17:51:12.812Z] 930bdd4d222e: Download complete [2024-08-07T17:51:12.812Z] 930bdd4d222e: Pull complete [2024-08-07T17:51:12.812Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T17:51:12.812Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T17:51:12.812Z] ---> 18f865063206 [2024-08-07T17:51:12.812Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-08-07T17:51:12.812Z] ---> Running in 152ab771dc40 [2024-08-07T17:51:12.812Z] Removing intermediate container 152ab771dc40 [2024-08-07T17:51:12.812Z] ---> d238749846d6 [2024-08-07T17:51:12.812Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-08-07T17:51:12.812Z] ---> Running in 8385f1ea6339 [2024-08-07T17:51:12.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T17:51:12.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T17:51:12.812Z] (1/107) Installing dumb-init (1.2.5-r2) [2024-08-07T17:51:12.812Z] (2/107) Installing sdl2 (2.26.5-r0) [2024-08-07T17:51:12.812Z] (3/107) Installing svt-av1-libs (1.6.0-r0) [2024-08-07T17:51:12.812Z] (4/107) Installing aom-libs (3.6.1-r0) [2024-08-07T17:51:12.812Z] (5/107) Installing libxau (1.0.11-r2) [2024-08-07T17:51:12.812Z] (6/107) Installing libmd (1.0.4-r2) [2024-08-07T17:51:12.812Z] (7/107) Installing libbsd (0.11.7-r1) [2024-08-07T17:51:12.812Z] (8/107) Installing libxdmcp (1.1.4-r2) [2024-08-07T17:51:12.812Z] (9/107) Installing libxcb (1.15-r1) [2024-08-07T17:51:12.812Z] (10/107) Installing libx11 (1.8.7-r0) [2024-08-07T17:51:12.812Z] (11/107) Installing hwdata-pci (0.370-r0) [2024-08-07T17:51:12.812Z] (12/107) Installing libpciaccess (0.17-r2) [2024-08-07T17:51:12.812Z] (13/107) Installing libdrm (2.4.115-r4) [2024-08-07T17:51:12.812Z] (14/107) Installing libxext (1.3.5-r2) [2024-08-07T17:51:12.812Z] (15/107) Installing libxfixes (6.0.1-r2) [2024-08-07T17:51:12.812Z] (16/107) Installing libffi (3.4.4-r2) [2024-08-07T17:51:12.812Z] (17/107) Installing wayland-libs-client (1.22.0-r2) [2024-08-07T17:51:12.812Z] (18/107) Installing libva (2.18.0-r1) [2024-08-07T17:51:12.812Z] (19/107) Installing libvdpau (1.5-r1) [2024-08-07T17:51:12.812Z] (20/107) Installing libgcc (12.2.1_git20220924-r10) [2024-08-07T17:51:12.812Z] (21/107) Installing libstdc++ (12.2.1_git20220924-r10) [2024-08-07T17:51:12.812Z] (22/107) Installing onevpl-libs (2023.2.1-r0) [2024-08-07T17:51:12.812Z] (23/107) Installing ffmpeg-libavutil (6.0.1-r0) [2024-08-07T17:51:12.812Z] (24/107) Installing libdav1d (1.2.1-r0) [2024-08-07T17:51:12.812Z] (25/107) Installing brotli-libs (1.0.9-r14) [2024-08-07T17:51:12.812Z] (26/107) Installing libhwy (1.0.4-r1) [2024-08-07T17:51:12.812Z] (27/107) Installing lcms2 (2.15-r2) [2024-08-07T17:51:12.812Z] (28/107) Installing libjxl (0.8.2-r0) [2024-08-07T17:51:12.812Z] (29/107) Installing lame-libs (3.100-r5) [2024-08-07T17:51:12.812Z] (30/107) Installing opus (1.4-r0) [2024-08-07T17:51:12.812Z] (31/107) Installing libgomp (12.2.1_git20220924-r10) [2024-08-07T17:51:12.812Z] (32/107) Installing soxr (0.1.3-r5) [2024-08-07T17:51:12.812Z] (33/107) Installing ffmpeg-libswresample (6.0.1-r0) [2024-08-07T17:51:12.812Z] (34/107) Installing libogg (1.3.5-r4) [2024-08-07T17:51:12.812Z] (35/107) Installing libtheora (1.1.1-r17) [2024-08-07T17:51:12.812Z] (36/107) Installing libvorbis (1.3.7-r1) [2024-08-07T17:51:12.812Z] (37/107) Installing libvpx (1.13.0-r2) [2024-08-07T17:51:12.812Z] (38/107) Installing libwebp (1.3.2-r0) [2024-08-07T17:51:12.812Z] (39/107) Installing x264-libs (0.164_git20220602-r1) [2024-08-07T17:51:12.812Z] (40/107) Installing numactl (2.0.16-r4) [2024-08-07T17:51:12.812Z] (41/107) Installing x265-libs (3.5-r4) [2024-08-07T17:51:12.812Z] (42/107) Installing xvidcore (1.3.7-r1) [2024-08-07T17:51:12.812Z] (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) [2024-08-07T17:51:12.812Z] (44/107) Installing alsa-lib (1.2.9-r1) [2024-08-07T17:51:12.812Z] (45/107) Installing libexpat (2.6.2-r0) [2024-08-07T17:51:12.812Z] (46/107) Installing libbz2 (1.0.8-r5) [2024-08-07T17:51:12.812Z] (47/107) Installing libpng (1.6.39-r3) [2024-08-07T17:51:12.812Z] (48/107) Installing freetype (2.13.0-r5) [2024-08-07T17:51:12.812Z] (49/107) Installing fontconfig (2.14.2-r3) [2024-08-07T17:51:12.812Z] (50/107) Installing fribidi (1.0.13-r0) [2024-08-07T17:51:12.812Z] (51/107) Installing libintl (0.21.1-r7) [2024-08-07T17:51:12.812Z] (52/107) Installing libblkid (2.38.1-r8) [2024-08-07T17:51:12.812Z] (53/107) Installing libmount (2.38.1-r8) [2024-08-07T17:51:12.812Z] (54/107) Installing pcre2 (10.42-r1) [2024-08-07T17:51:12.812Z] (55/107) Installing glib (2.76.6-r0) [2024-08-07T17:51:12.812Z] (56/107) Installing graphite2 (1.3.14-r5) [2024-08-07T17:51:12.812Z] (57/107) Installing harfbuzz (7.3.0-r0) [2024-08-07T17:51:12.812Z] (58/107) Installing libunibreak (5.1-r0) [2024-08-07T17:51:12.812Z] (59/107) Installing libass (0.17.1-r0) [2024-08-07T17:51:12.812Z] (60/107) Installing libbluray (1.3.4-r0) [2024-08-07T17:51:12.812Z] (61/107) Installing gmp (6.2.1-r3) [2024-08-07T17:51:12.812Z] (62/107) Installing nettle (3.8.1-r2) [2024-08-07T17:51:12.812Z] (63/107) Installing libunistring (1.1-r1) [2024-08-07T17:51:12.812Z] (64/107) Installing libidn2 (2.3.4-r1) [2024-08-07T17:51:12.812Z] (65/107) Installing p11-kit (0.24.1-r2) [2024-08-07T17:51:12.812Z] (66/107) Installing libtasn1 (4.19.0-r1) [2024-08-07T17:51:12.812Z] (67/107) Installing gnutls (3.8.4-r0) [2024-08-07T17:51:12.812Z] (68/107) Installing mpg123-libs (1.31.3-r1) [2024-08-07T17:51:12.812Z] (69/107) Installing libopenmpt (0.7.2-r0) [2024-08-07T17:51:12.812Z] (70/107) Installing cjson (1.7.17-r0) [2024-08-07T17:51:12.812Z] (71/107) Installing mbedtls (2.28.8-r0) [2024-08-07T17:51:12.812Z] (72/107) Installing librist (0.2.7-r0) [2024-08-07T17:51:12.812Z] (73/107) Installing libsrt (1.5.2-r0) [2024-08-07T17:51:12.812Z] (74/107) Installing libssh (0.10.5-r0) [2024-08-07T17:51:12.812Z] (75/107) Installing xz-libs (5.4.3-r0) [2024-08-07T17:51:12.812Z] (76/107) Installing libxml2 (2.11.8-r0) [2024-08-07T17:51:12.812Z] (77/107) Installing libsodium (1.0.18-r3) [2024-08-07T17:51:12.812Z] (78/107) Installing libzmq (4.3.4-r4) [2024-08-07T17:51:12.812Z] (79/107) Installing ffmpeg-libavformat (6.0.1-r0) [2024-08-07T17:51:12.812Z] (80/107) Installing glslang-libs (1.3.243.0-r1) [2024-08-07T17:51:12.812Z] (81/107) Installing spirv-tools (1.3.243.0-r1) [2024-08-07T17:51:12.812Z] (82/107) Installing shaderc (2023.3-r1) [2024-08-07T17:51:12.812Z] (83/107) Installing vulkan-loader (1.3.243.0-r1) [2024-08-07T17:51:12.812Z] (84/107) Installing libplacebo (5.264.1-r1) [2024-08-07T17:51:12.812Z] (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) [2024-08-07T17:51:12.812Z] (86/107) Installing ffmpeg-libswscale (6.0.1-r0) [2024-08-07T17:51:12.812Z] (87/107) Installing vidstab (1.1.1-r0) [2024-08-07T17:51:12.812Z] (88/107) Installing zimg (3.0.5-r0) [2024-08-07T17:51:12.812Z] (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) [2024-08-07T17:51:12.812Z] (90/107) Installing libasyncns (0.8-r1) [2024-08-07T17:51:12.812Z] (91/107) Installing dbus-libs (1.14.8-r0) [2024-08-07T17:51:12.812Z] (92/107) Installing libltdl (2.4.7-r2) [2024-08-07T17:51:12.812Z] (93/107) Installing orc (0.4.34-r0) [2024-08-07T17:51:12.812Z] (94/107) Installing flac-libs (1.4.3-r0) [2024-08-07T17:51:12.812Z] (95/107) Installing libsndfile (1.2.0-r2) [2024-08-07T17:51:12.812Z] (96/107) Installing speexdsp (1.2.1-r1) [2024-08-07T17:51:12.812Z] (97/107) Installing tdb-libs (1.4.8-r1) [2024-08-07T17:51:12.812Z] (98/107) Installing libpulse (16.1-r10) [2024-08-07T17:51:12.812Z] (99/107) Installing libjpeg-turbo (2.1.5.1-r3) [2024-08-07T17:51:12.812Z] (100/107) Installing v4l-utils-libs (1.24.1-r0) [2024-08-07T17:51:12.812Z] (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) [2024-08-07T17:51:12.812Z] (102/107) Installing ffmpeg (6.0.1-r0) [2024-08-07T17:51:12.812Z] (103/107) Installing udev-init-scripts (35-r1) [2024-08-07T17:51:12.812Z] (104/107) Installing eudev-libs (3.2.11-r8) [2024-08-07T17:51:12.812Z] (105/107) Installing zstd-libs (1.5.5-r4) [2024-08-07T17:51:12.812Z] (106/107) Installing kmod-libs (30-r3) [2024-08-07T17:51:12.812Z] (107/107) Installing eudev (3.2.11-r8) [2024-08-07T17:51:12.812Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T17:51:12.812Z] Executing glib-2.76.6-r0.trigger [2024-08-07T17:51:12.812Z] Executing eudev-3.2.11-r8.trigger [2024-08-07T17:51:12.812Z] OK: 131 MiB in 122 packages [2024-08-07T17:51:14.726Z] Removing intermediate container 8385f1ea6339 [2024-08-07T17:51:14.726Z] ---> aed516def830 [2024-08-07T17:51:14.726Z] Step 18/37 : RUN apk --no-cache upgrade [2024-08-07T17:51:14.726Z] ---> Running in c35db0d935ce [2024-08-07T17:51:14.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T17:51:14.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T17:51:14.986Z] OK: 131 MiB in 122 packages [2024-08-07T17:51:15.244Z] Removing intermediate container c35db0d935ce [2024-08-07T17:51:15.244Z] ---> 477caae556c9 [2024-08-07T17:51:15.244Z] Step 19/37 : WORKDIR / [2024-08-07T17:51:15.244Z] ---> Running in 54ac97099099 [2024-08-07T17:51:15.503Z] Removing intermediate container 54ac97099099 [2024-08-07T17:51:15.503Z] ---> 1c28b4ee8a7a [2024-08-07T17:51:15.503Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-08-07T17:51:16.879Z] ---> c6683ef0c05b [2024-08-07T17:51:16.879Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-08-07T17:51:16.879Z] ---> d1a012b988e1 [2024-08-07T17:51:16.879Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-08-07T17:51:16.879Z] ---> bb18a6589b0f [2024-08-07T17:51:16.879Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-08-07T17:51:17.137Z] ---> cddb4da16179 [2024-08-07T17:51:17.137Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-08-07T17:51:17.137Z] ---> 5e8a5539d1f6 [2024-08-07T17:51:17.137Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-08-07T17:51:17.395Z] ---> 7f3737f94610 [2024-08-07T17:51:17.395Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-08-07T17:51:18.333Z] ---> b1dd9b6f97d3 [2024-08-07T17:51:18.333Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-08-07T17:51:18.333Z] ---> Running in dcae5452b885 [2024-08-07T17:51:18.901Z] Removing intermediate container dcae5452b885 [2024-08-07T17:51:18.901Z] ---> 889dee80b48d [2024-08-07T17:51:18.901Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-08-07T17:51:18.901Z] ---> Running in 95a5f3b8a9bd [2024-08-07T17:51:19.468Z] Removing intermediate container 95a5f3b8a9bd [2024-08-07T17:51:19.468Z] ---> 05d1aef71373 [2024-08-07T17:51:19.468Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-08-07T17:51:19.468Z] ---> Running in 59a4272883d8 [2024-08-07T17:51:20.034Z] Removing intermediate container 59a4272883d8 [2024-08-07T17:51:20.034Z] ---> e82417adcc95 [2024-08-07T17:51:20.034Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-08-07T17:51:20.034Z] ---> Running in beda2b9e0ba3 [2024-08-07T17:51:20.603Z] Removing intermediate container beda2b9e0ba3 [2024-08-07T17:51:20.603Z] ---> 25e0c005e824 [2024-08-07T17:51:20.603Z] Step 31/37 : EXPOSE 59983 [2024-08-07T17:51:20.603Z] ---> Running in 7383f36a0a41 [2024-08-07T17:51:20.603Z] Removing intermediate container 7383f36a0a41 [2024-08-07T17:51:20.603Z] ---> 4bf9df594767 [2024-08-07T17:51:20.603Z] Step 32/37 : EXPOSE 8554 [2024-08-07T17:51:20.603Z] ---> Running in 9ac136813fa2 [2024-08-07T17:51:20.862Z] Removing intermediate container 9ac136813fa2 [2024-08-07T17:51:20.862Z] ---> 2d6bc9c7cbaa [2024-08-07T17:51:20.862Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-08-07T17:51:20.862Z] ---> Running in 625d66003635 [2024-08-07T17:51:20.862Z] Removing intermediate container 625d66003635 [2024-08-07T17:51:20.862Z] ---> 127fb39fbc85 [2024-08-07T17:51:20.862Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-08-07T17:51:20.862Z] ---> Running in d2c8ad1f20e0 [2024-08-07T17:51:20.862Z] Removing intermediate container d2c8ad1f20e0 [2024-08-07T17:51:20.862Z] ---> 9128077c3999 [2024-08-07T17:51:20.862Z] Step 35/37 : LABEL arch=amd64 [2024-08-07T17:51:21.121Z] ---> Running in 014a81bc6bd1 [2024-08-07T17:51:21.121Z] Removing intermediate container 014a81bc6bd1 [2024-08-07T17:51:21.121Z] ---> 427e3c6a6cfd [2024-08-07T17:51:21.121Z] Step 36/37 : LABEL git_sha=bba23f4b70125d296a1433c3a52cccf6b00e2c1d [2024-08-07T17:51:21.121Z] ---> Running in edfa0fda9308 [2024-08-07T17:51:21.121Z] Removing intermediate container edfa0fda9308 [2024-08-07T17:51:21.121Z] ---> 242296c82d74 [2024-08-07T17:51:21.121Z] Step 37/37 : LABEL version=0.0.0 [2024-08-07T17:51:21.121Z] ---> Running in 552908aef8ff [2024-08-07T17:51:21.121Z] Removing intermediate container 552908aef8ff [2024-08-07T17:51:21.121Z] ---> 95d39da6a056 [2024-08-07T17:51:21.121Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T17:51:21.380Z] Successfully built 95d39da6a056 [2024-08-07T17:51:21.380Z] 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-08-07T17:51:22.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T17:51:22.442Z] [2024-08-07T17:51:22.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:51:22.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T17:51:22.844Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T17:51:22.844Z] 5eb5b503b376: Pulling fs layer [2024-08-07T17:51:22.844Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T17:51:22.844Z] ec43610c2a17: Pulling fs layer [2024-08-07T17:51:22.844Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T17:51:22.844Z] 33b1e0a273af: Pulling fs layer [2024-08-07T17:51:22.844Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T17:51:22.844Z] 2f39f015ded8: Pulling fs layer [2024-08-07T17:51:22.844Z] 33b1e0a273af: Waiting [2024-08-07T17:51:22.844Z] 5d3b04190fa2: Waiting [2024-08-07T17:51:22.844Z] 2f39f015ded8: Waiting [2024-08-07T17:51:22.844Z] 3a2ae6a8a46f: Waiting [2024-08-07T17:51:22.844Z] 5c69ac0246d0: Verifying Checksum [2024-08-07T17:51:22.844Z] 5c69ac0246d0: Download complete [2024-08-07T17:51:22.844Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-07T17:51:22.844Z] 3a2ae6a8a46f: Download complete [2024-08-07T17:51:22.844Z] 33b1e0a273af: Verifying Checksum [2024-08-07T17:51:22.844Z] 33b1e0a273af: Download complete [2024-08-07T17:51:22.844Z] 5d3b04190fa2: Verifying Checksum [2024-08-07T17:51:22.844Z] 5d3b04190fa2: Download complete [2024-08-07T17:51:22.844Z] ec43610c2a17: Verifying Checksum [2024-08-07T17:51:22.844Z] ec43610c2a17: Download complete [2024-08-07T17:51:23.104Z] 5eb5b503b376: Verifying Checksum [2024-08-07T17:51:23.104Z] 5eb5b503b376: Download complete [2024-08-07T17:51:23.680Z] 2f39f015ded8: Verifying Checksum [2024-08-07T17:51:23.680Z] 2f39f015ded8: Download complete [2024-08-07T17:51:24.246Z] 5eb5b503b376: Pull complete [2024-08-07T17:51:24.504Z] 5c69ac0246d0: Pull complete [2024-08-07T17:51:25.073Z] ec43610c2a17: Pull complete [2024-08-07T17:51:25.073Z] 3a2ae6a8a46f: Pull complete [2024-08-07T17:51:25.332Z] 33b1e0a273af: Pull complete [2024-08-07T17:51:25.332Z] 5d3b04190fa2: Pull complete [2024-08-07T17:51:30.623Z] 2f39f015ded8: Pull complete [2024-08-07T17:51:30.623Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T17:51:30.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T17:51:30.623Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T17:51:30.905Z] prd-ubuntu20.04-docker-8c-8g-7307 does not seem to be running inside a container [2024-08-07T17:51:30.939Z] $ 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-343 -v /w/workspace/foundry_device-usb-camera_PR-343:/w/workspace/foundry_device-usb-camera_PR-343:rw,z -v /w/workspace/foundry_device-usb-camera_PR-343@tmp:/w/workspace/foundry_device-usb-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-07T17:51:34.634Z] $ docker top 697f81c3d0d65cbb37dc585a27b9c7df662fcc92f1d76bd837871c693c4a8953 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T17:51:35.131Z] ---> job-cost.sh [2024-08-07T17:51:35.132Z] lf-activate-venv: SKIPPING [2024-08-07T17:51:35.132Z] INFO: No Stack... [2024-08-07T17:51:35.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T17:51:35.960Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T17:51:36.283Z] + cat /w/workspace/foundry_device-usb-camera_PR-343/archives/cost.csv [2024-08-07T17:51:36.283Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T17:51:36.341Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] [2024-08-07T17:51:36.348Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] did not exist. Created. [2024-08-07T17:51:36.353Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T17:51:36.803Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T17:51:36.860Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T17:51:36.900Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T17:51:36.989Z] $ docker stop --time=1 697f81c3d0d65cbb37dc585a27b9c7df662fcc92f1d76bd837871c693c4a8953 [2024-08-07T17:51:38.152Z] $ docker rm -f --volumes 697f81c3d0d65cbb37dc585a27b9c7df662fcc92f1d76bd837871c693c4a8953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T17:52:57.446Z] Removing intermediate container 7dc5a8b0715a [2024-08-07T17:52:57.446Z] ---> 915538d9e9e6 [2024-08-07T17:52:57.446Z] Step 11/13 : COPY . . [2024-08-07T17:52:57.446Z] ---> 7347cc4337a9 [2024-08-07T17:52:57.446Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-08-07T17:52:57.446Z] ---> Running in b63bf47a56ff [2024-08-07T17:52:57.446Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2024-08-07T17:52:57.446Z]   Dload Upload Total Spent Left Speed [2024-08-07T17:52:57.446Z] 0 0 0  0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0  8025 0 --:--:-- --:--:-- --:--:-- 8045 [2024-08-07T17:52:57.446Z] Removing intermediate container b63bf47a56ff [2024-08-07T17:52:57.446Z] ---> ff20af150bd6 [2024-08-07T17:52:57.446Z] Step 13/13 : RUN ${MAKE} [2024-08-07T17:52:57.446Z] ---> Running in fb4f6a913af7 [2024-08-07T17:52:57.446Z] noop [2024-08-07T17:52:57.713Z] Removing intermediate container fb4f6a913af7 [2024-08-07T17:52:57.713Z] ---> 940857ca6445 [2024-08-07T17:52:57.713Z] Successfully built 940857ca6445 [2024-08-07T17:52:57.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:52:58.231Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T17:52:58.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T17:52:58.525Z] prd-ubuntu20.04-docker-arm64-4c-16g-7308 does not seem to be running inside a container [2024-08-07T17:52:58.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-07T17:52:59.708Z] $ docker top 8a29083ef5ad31b65647280bcdc0093daff0899af6ce370adf85b087c3ed4cc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T17:53:00.603Z] + go version [2024-08-07T17:53:00.603Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T17:53:00.639Z] $ docker stop --time=1 8a29083ef5ad31b65647280bcdc0093daff0899af6ce370adf85b087c3ed4cc7 [2024-08-07T17:53:02.239Z] $ docker rm -f --volumes 8a29083ef5ad31b65647280bcdc0093daff0899af6ce370adf85b087c3ed4cc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:53:03.180Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T17:53:03.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T17:53:03.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-7308 does not seem to be running inside a container [2024-08-07T17:53:03.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-07T17:53:04.621Z] $ docker top 2132754e61ebed86ebf5bff577d3bde6dc69a62f84b2f0b4e251b3a84cc4d6de -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T17:53:05.182Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-08-07T17:53:05.857Z] + make test [2024-08-07T17:53:05.858Z] go test ./... -coverprofile=coverage.out ./... [2024-08-07T17:53:12.515Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-08-07T17:56:49.596Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2024-08-07T17:56:59.673Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.064s coverage: 4.4% of statements [2024-08-07T17:57:00.632Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T17:57:00.632Z] go vet ./... [2024-08-07T17:57:47.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T17:57:47.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T17:57:47.495Z] ./bin/test-attribution-txt.sh [2024-08-07T17:57:47.495Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-07T17:57:47.495Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add [2024-08-07T17:57:47.496Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T17:57:47.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T17:57:47.584Z] $ docker stop --time=1 2132754e61ebed86ebf5bff577d3bde6dc69a62f84b2f0b4e251b3a84cc4d6de [2024-08-07T17:57:49.435Z] $ docker rm -f --volumes 2132754e61ebed86ebf5bff577d3bde6dc69a62f84b2f0b4e251b3a84cc4d6de [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T17:57:50.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T17:57:51.005Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T17:57:51.478Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T17:57:52.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T17:57:52.457Z] + ls -al . [2024-08-07T17:57:52.457Z] total 288 [2024-08-07T17:57:52.457Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 17:53 . [2024-08-07T17:57:52.457Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 17:49 .. [2024-08-07T17:57:52.457Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 17:50 .git [2024-08-07T17:57:52.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 17:49 .github [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 379 Aug 7 17:49 .gitignore [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 7 17:49 .golangci.yml [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 7 17:49 .hadolint.yml [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 10870 Aug 7 17:49 Attribution.txt [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 16561 Aug 7 17:49 CHANGELOG.md [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 7 17:49 Dockerfile [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 7 17:49 GOVERNANCE.md [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 7 17:49 Jenkinsfile [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 7 17:49 LICENSE [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 2611 Aug 7 17:49 Makefile [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 7 17:49 OWNERS.md [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 7 17:49 README.md [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 17:47 VERSION [2024-08-07T17:57:52.457Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 17:49 bin [2024-08-07T17:57:52.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 17:49 cmd [2024-08-07T17:57:52.457Z] -rw-r--r-- 1 jenkins jenkins 54703 Aug 7 17:56 coverage.out [2024-08-07T17:57:52.457Z] -rwxrwxr-x 1 jenkins jenkins 84 Aug 7 17:49 docker-entrypoint.sh [2024-08-07T17:57:52.457Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 17:49 docs [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 7210 Aug 7 17:49 go.mod [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 102021 Aug 7 17:49 go.sum [2024-08-07T17:57:52.457Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 17:49 internal [2024-08-07T17:57:52.457Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 7 17:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T17:57:52.891Z] + 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=bba23f4b70125d296a1433c3a52cccf6b00e2c1d --label arch=arm64 --label version=0.0.0 . [2024-08-07T17:57:53.479Z] Sending build context to Docker daemon 10.56MB [2024-08-07T17:57:53.479Z] Step 1/37 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T17:57:53.479Z] Step 2/37 : FROM ${BASE} AS builder [2024-08-07T17:57:53.479Z] ---> 940857ca6445 [2024-08-07T17:57:53.479Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-08-07T17:57:53.479Z] ---> Running in ab156e923bc9 [2024-08-07T17:57:53.745Z] Removing intermediate container ab156e923bc9 [2024-08-07T17:57:53.745Z] ---> 895ad1b6e5ac [2024-08-07T17:57:53.745Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T17:57:53.745Z] ---> Running in c1f5b873351f [2024-08-07T17:57:54.021Z] Removing intermediate container c1f5b873351f [2024-08-07T17:57:54.021Z] ---> c8a6694feac6 [2024-08-07T17:57:54.021Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-08-07T17:57:54.287Z] ---> Running in 5c69a6549df6 [2024-08-07T17:57:54.552Z] Removing intermediate container 5c69a6549df6 [2024-08-07T17:57:54.552Z] ---> 084b6c28b8b8 [2024-08-07T17:57:54.552Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-08-07T17:57:54.552Z] ---> Running in 70a7ae39c703 [2024-08-07T17:57:54.824Z] Removing intermediate container 70a7ae39c703 [2024-08-07T17:57:54.824Z] ---> 1dba45552384 [2024-08-07T17:57:54.824Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T17:57:54.824Z] ---> Running in 3c0072cf5141 [2024-08-07T17:57:55.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T17:57:56.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T17:57:57.328Z] OK: 273 MiB in 65 packages [2024-08-07T17:57:57.919Z] Removing intermediate container 3c0072cf5141 [2024-08-07T17:57:57.919Z] ---> 181cb8423c8c [2024-08-07T17:57:57.919Z] Step 8/37 : WORKDIR /device-usb-camera [2024-08-07T17:57:58.184Z] ---> Running in 6a5a44db3284 [2024-08-07T17:57:58.451Z] Removing intermediate container 6a5a44db3284 [2024-08-07T17:57:58.451Z] ---> 53d7c8738a13 [2024-08-07T17:57:58.451Z] Step 9/37 : COPY go.mod vendor* ./ [2024-08-07T17:57:59.032Z] ---> 7913b9e8ad92 [2024-08-07T17:57:59.032Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T17:57:59.032Z] ---> Running in b9cfcdc4bb20 [2024-08-07T17:58:01.616Z] Removing intermediate container b9cfcdc4bb20 [2024-08-07T17:58:01.616Z] ---> 1076f8192467 [2024-08-07T17:58:01.616Z] Step 11/37 : COPY . . [2024-08-07T17:58:03.025Z] ---> 5dc581f3f563 [2024-08-07T17:58:03.025Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-08-07T17:58:03.025Z] ---> Running in 432744d6ff12 [2024-08-07T17:58:03.976Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2024-08-07T17:58:03.976Z] Dload Upload Total Spent Left Speed [2024-08-07T17:58:04.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062 0 0 4909 0 --:--:-- --:--:-- --:--:-- 4939 [2024-08-07T17:58:04.826Z] Removing intermediate container 432744d6ff12 [2024-08-07T17:58:04.826Z] ---> 6ce513ac0977 [2024-08-07T17:58:04.826Z] Step 13/37 : RUN ${MAKE} [2024-08-07T17:58:04.826Z] ---> Running in d1c40aa6a678 [2024-08-07T17:58:05.784Z] 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.30" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2024-08-07T18:01:42.557Z] Removing intermediate container d1c40aa6a678 [2024-08-07T18:01:42.557Z] ---> 5ec1f96c2db9 [2024-08-07T18:01:42.557Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-08-07T18:01:42.557Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-08-07T18:01:42.822Z] da4d7e05a7aa: Pulling fs layer [2024-08-07T18:01:43.779Z] da4d7e05a7aa: Download complete [2024-08-07T18:01:44.735Z] da4d7e05a7aa: Pull complete [2024-08-07T18:01:44.735Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-08-07T18:01:44.735Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-08-07T18:01:44.735Z] ---> 62c65ed7ef0d [2024-08-07T18:01:44.735Z] Step 15/37 : FROM alpine:3.18 [2024-08-07T18:01:44.999Z] 3.18: Pulling from library/alpine [2024-08-07T18:01:45.264Z] 4983c3fe2029: Pulling fs layer [2024-08-07T18:01:45.264Z] 4983c3fe2029: Verifying Checksum [2024-08-07T18:01:45.264Z] 4983c3fe2029: Download complete [2024-08-07T18:01:45.851Z] 4983c3fe2029: Pull complete [2024-08-07T18:01:45.851Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T18:01:45.851Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T18:01:45.851Z] ---> a0237000ae83 [2024-08-07T18:01:45.851Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-08-07T18:01:46.117Z] ---> Running in aa5081a5c82b [2024-08-07T18:01:46.382Z] Removing intermediate container aa5081a5c82b [2024-08-07T18:01:46.382Z] ---> ecf2214f987c [2024-08-07T18:01:46.382Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-08-07T18:01:46.382Z] ---> Running in 14f4bc0c03f1 [2024-08-07T18:01:47.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:01:47.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:01:48.875Z] (1/104) Installing dumb-init (1.2.5-r2) [2024-08-07T18:01:48.875Z] (2/104) Installing sdl2 (2.26.5-r0) [2024-08-07T18:01:48.875Z] (3/104) Installing svt-av1-libs (1.6.0-r0) [2024-08-07T18:01:49.140Z] (4/104) Installing aom-libs (3.6.1-r0) [2024-08-07T18:01:49.140Z] (5/104) Installing libxau (1.0.11-r2) [2024-08-07T18:01:49.140Z] (6/104) Installing libmd (1.0.4-r2) [2024-08-07T18:01:49.140Z] (7/104) Installing libbsd (0.11.7-r1) [2024-08-07T18:01:49.140Z] (8/104) Installing libxdmcp (1.1.4-r2) [2024-08-07T18:01:49.140Z] (9/104) Installing libxcb (1.15-r1) [2024-08-07T18:01:49.140Z] (10/104) Installing libx11 (1.8.7-r0) [2024-08-07T18:01:49.405Z] (11/104) Installing libdrm (2.4.115-r4) [2024-08-07T18:01:49.405Z] (12/104) Installing libxext (1.3.5-r2) [2024-08-07T18:01:49.405Z] (13/104) Installing libxfixes (6.0.1-r2) [2024-08-07T18:01:49.405Z] (14/104) Installing libffi (3.4.4-r2) [2024-08-07T18:01:49.405Z] (15/104) Installing wayland-libs-client (1.22.0-r2) [2024-08-07T18:01:49.405Z] (16/104) Installing libva (2.18.0-r1) [2024-08-07T18:01:49.405Z] (17/104) Installing libvdpau (1.5-r1) [2024-08-07T18:01:49.405Z] (18/104) Installing ffmpeg-libavutil (6.0.1-r0) [2024-08-07T18:01:49.405Z] (19/104) Installing libdav1d (1.2.1-r0) [2024-08-07T18:01:49.405Z] (20/104) Installing brotli-libs (1.0.9-r14) [2024-08-07T18:01:49.670Z] (21/104) Installing libgcc (12.2.1_git20220924-r10) [2024-08-07T18:01:49.670Z] (22/104) Installing libstdc++ (12.2.1_git20220924-r10) [2024-08-07T18:01:49.671Z] (23/104) Installing libhwy (1.0.4-r1) [2024-08-07T18:01:49.671Z] (24/104) Installing lcms2 (2.15-r2) [2024-08-07T18:01:49.671Z] (25/104) Installing libjxl (0.8.2-r0) [2024-08-07T18:01:49.671Z] (26/104) Installing lame-libs (3.100-r5) [2024-08-07T18:01:49.671Z] (27/104) Installing opus (1.4-r0) [2024-08-07T18:01:49.671Z] (28/104) Installing libgomp (12.2.1_git20220924-r10) [2024-08-07T18:01:49.671Z] (29/104) Installing soxr (0.1.3-r5) [2024-08-07T18:01:49.671Z] (30/104) Installing ffmpeg-libswresample (6.0.1-r0) [2024-08-07T18:01:49.671Z] (31/104) Installing libogg (1.3.5-r4) [2024-08-07T18:01:49.671Z] (32/104) Installing libtheora (1.1.1-r17) [2024-08-07T18:01:49.671Z] (33/104) Installing libvorbis (1.3.7-r1) [2024-08-07T18:01:49.953Z] (34/104) Installing libvpx (1.13.0-r2) [2024-08-07T18:01:49.953Z] (35/104) Installing libwebp (1.3.2-r0) [2024-08-07T18:01:49.953Z] (36/104) Installing x264-libs (0.164_git20220602-r1) [2024-08-07T18:01:49.953Z] (37/104) Installing numactl (2.0.16-r4) [2024-08-07T18:01:49.953Z] (38/104) Installing x265-libs (3.5-r4) [2024-08-07T18:01:50.219Z] (39/104) Installing xvidcore (1.3.7-r1) [2024-08-07T18:01:50.219Z] (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) [2024-08-07T18:01:50.484Z] (41/104) Installing alsa-lib (1.2.9-r1) [2024-08-07T18:01:50.484Z] (42/104) Installing libexpat (2.6.2-r0) [2024-08-07T18:01:50.484Z] (43/104) Installing libbz2 (1.0.8-r5) [2024-08-07T18:01:50.484Z] (44/104) Installing libpng (1.6.39-r3) [2024-08-07T18:01:50.484Z] (45/104) Installing freetype (2.13.0-r5) [2024-08-07T18:01:50.484Z] (46/104) Installing fontconfig (2.14.2-r3) [2024-08-07T18:01:50.484Z] (47/104) Installing fribidi (1.0.13-r0) [2024-08-07T18:01:50.484Z] (48/104) Installing libintl (0.21.1-r7) [2024-08-07T18:01:50.484Z] (49/104) Installing libblkid (2.38.1-r8) [2024-08-07T18:01:50.484Z] (50/104) Installing libmount (2.38.1-r8) [2024-08-07T18:01:50.750Z] (51/104) Installing pcre2 (10.42-r1) [2024-08-07T18:01:50.750Z] (52/104) Installing glib (2.76.6-r0) [2024-08-07T18:01:50.750Z] (53/104) Installing graphite2 (1.3.14-r5) [2024-08-07T18:01:50.750Z] (54/104) Installing harfbuzz (7.3.0-r0) [2024-08-07T18:01:50.750Z] (55/104) Installing libunibreak (5.1-r0) [2024-08-07T18:01:50.750Z] (56/104) Installing libass (0.17.1-r0) [2024-08-07T18:01:50.750Z] (57/104) Installing libbluray (1.3.4-r0) [2024-08-07T18:01:50.750Z] (58/104) Installing gmp (6.2.1-r3) [2024-08-07T18:01:50.750Z] (59/104) Installing nettle (3.8.1-r2) [2024-08-07T18:01:50.750Z] (60/104) Installing libunistring (1.1-r1) [2024-08-07T18:01:51.017Z] (61/104) Installing libidn2 (2.3.4-r1) [2024-08-07T18:01:51.017Z] (62/104) Installing p11-kit (0.24.1-r2) [2024-08-07T18:01:51.017Z] (63/104) Installing libtasn1 (4.19.0-r1) [2024-08-07T18:01:51.017Z] (64/104) Installing gnutls (3.8.4-r0) [2024-08-07T18:01:51.017Z] (65/104) Installing mpg123-libs (1.31.3-r1) [2024-08-07T18:01:51.017Z] (66/104) Installing libopenmpt (0.7.2-r0) [2024-08-07T18:01:51.017Z] (67/104) Installing cjson (1.7.17-r0) [2024-08-07T18:01:51.017Z] (68/104) Installing mbedtls (2.28.8-r0) [2024-08-07T18:01:51.017Z] (69/104) Installing librist (0.2.7-r0) [2024-08-07T18:01:51.017Z] (70/104) Installing libsrt (1.5.2-r0) [2024-08-07T18:01:51.017Z] (71/104) Installing libssh (0.10.5-r0) [2024-08-07T18:01:51.284Z] (72/104) Installing xz-libs (5.4.3-r0) [2024-08-07T18:01:51.284Z] (73/104) Installing libxml2 (2.11.8-r0) [2024-08-07T18:01:51.284Z] (74/104) Installing libsodium (1.0.18-r3) [2024-08-07T18:01:51.284Z] (75/104) Installing libzmq (4.3.4-r4) [2024-08-07T18:01:51.284Z] (76/104) Installing ffmpeg-libavformat (6.0.1-r0) [2024-08-07T18:01:51.284Z] (77/104) Installing glslang-libs (1.3.243.0-r1) [2024-08-07T18:01:51.554Z] (78/104) Installing spirv-tools (1.3.243.0-r1) [2024-08-07T18:01:51.554Z] (79/104) Installing shaderc (2023.3-r1) [2024-08-07T18:01:51.818Z] (80/104) Installing vulkan-loader (1.3.243.0-r1) [2024-08-07T18:01:51.818Z] (81/104) Installing libplacebo (5.264.1-r1) [2024-08-07T18:01:52.082Z] (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) [2024-08-07T18:01:52.082Z] (83/104) Installing ffmpeg-libswscale (6.0.1-r0) [2024-08-07T18:01:52.082Z] (84/104) Installing vidstab (1.1.1-r0) [2024-08-07T18:01:52.347Z] (85/104) Installing zimg (3.0.5-r0) [2024-08-07T18:01:52.348Z] (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) [2024-08-07T18:01:52.612Z] (87/104) Installing libasyncns (0.8-r1) [2024-08-07T18:01:52.612Z] (88/104) Installing dbus-libs (1.14.8-r0) [2024-08-07T18:01:52.612Z] (89/104) Installing libltdl (2.4.7-r2) [2024-08-07T18:01:52.612Z] (90/104) Installing orc (0.4.34-r0) [2024-08-07T18:01:52.612Z] (91/104) Installing flac-libs (1.4.3-r0) [2024-08-07T18:01:52.612Z] (92/104) Installing libsndfile (1.2.0-r2) [2024-08-07T18:01:52.612Z] (93/104) Installing speexdsp (1.2.1-r1) [2024-08-07T18:01:52.612Z] (94/104) Installing tdb-libs (1.4.8-r1) [2024-08-07T18:01:52.612Z] (95/104) Installing libpulse (16.1-r10) [2024-08-07T18:01:52.612Z] (96/104) Installing libjpeg-turbo (2.1.5.1-r3) [2024-08-07T18:01:52.612Z] (97/104) Installing v4l-utils-libs (1.24.1-r0) [2024-08-07T18:01:52.612Z] (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) [2024-08-07T18:01:52.877Z] (99/104) Installing ffmpeg (6.0.1-r0) [2024-08-07T18:01:52.877Z] (100/104) Installing udev-init-scripts (35-r1) [2024-08-07T18:01:52.877Z] (101/104) Installing eudev-libs (3.2.11-r8) [2024-08-07T18:01:52.877Z] (102/104) Installing zstd-libs (1.5.5-r4) [2024-08-07T18:01:52.877Z] (103/104) Installing kmod-libs (30-r3) [2024-08-07T18:01:52.877Z] (104/104) Installing eudev (3.2.11-r8) [2024-08-07T18:01:53.144Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T18:01:53.144Z] Executing glib-2.76.6-r0.trigger [2024-08-07T18:01:53.144Z] Executing eudev-3.2.11-r8.trigger [2024-08-07T18:01:53.144Z] OK: 110 MiB in 119 packages [2024-08-07T18:01:57.393Z] Removing intermediate container 14f4bc0c03f1 [2024-08-07T18:01:57.393Z] ---> c4d0ab546dd1 [2024-08-07T18:01:57.393Z] Step 18/37 : RUN apk --no-cache upgrade [2024-08-07T18:01:57.393Z] ---> Running in d7f58a4b34c7 [2024-08-07T18:01:57.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:01:58.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:01:59.193Z] OK: 110 MiB in 119 packages [2024-08-07T18:02:00.149Z] Removing intermediate container d7f58a4b34c7 [2024-08-07T18:02:00.149Z] ---> 6651bf279c23 [2024-08-07T18:02:00.149Z] Step 19/37 : WORKDIR / [2024-08-07T18:02:00.149Z] ---> Running in cf319e61922d [2024-08-07T18:02:00.420Z] Removing intermediate container cf319e61922d [2024-08-07T18:02:00.420Z] ---> 28423928d065 [2024-08-07T18:02:00.420Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-08-07T18:02:03.004Z] ---> dba6499b6d10 [2024-08-07T18:02:03.004Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-08-07T18:02:03.004Z] ---> dad1311f1fb2 [2024-08-07T18:02:03.004Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-08-07T18:02:03.588Z] ---> 1d4fae35cf9b [2024-08-07T18:02:03.588Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-08-07T18:02:04.173Z] ---> 4cd7e700539e [2024-08-07T18:02:04.173Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-08-07T18:02:04.753Z] ---> d17f9cfc19e1 [2024-08-07T18:02:04.753Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-08-07T18:02:05.340Z] ---> b0453d569e3c [2024-08-07T18:02:05.340Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-08-07T18:02:06.744Z] ---> b945d50634f7 [2024-08-07T18:02:06.744Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-08-07T18:02:06.744Z] ---> Running in 5cb3d747896b [2024-08-07T18:02:08.682Z] Removing intermediate container 5cb3d747896b [2024-08-07T18:02:08.682Z] ---> 5b439a7edb3d [2024-08-07T18:02:08.682Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-08-07T18:02:08.682Z] ---> Running in 73b698f89b14 [2024-08-07T18:02:10.095Z] Removing intermediate container 73b698f89b14 [2024-08-07T18:02:10.095Z] ---> 1f7c05f21f58 [2024-08-07T18:02:10.095Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-08-07T18:02:10.095Z] ---> Running in 44102e80f765 [2024-08-07T18:02:11.516Z] Removing intermediate container 44102e80f765 [2024-08-07T18:02:11.516Z] ---> 7dd2a52f8a8a [2024-08-07T18:02:11.516Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-08-07T18:02:11.516Z] ---> Running in bcaca63eb18c [2024-08-07T18:02:13.455Z] Removing intermediate container bcaca63eb18c [2024-08-07T18:02:13.455Z] ---> a9d243184851 [2024-08-07T18:02:13.455Z] Step 31/37 : EXPOSE 59983 [2024-08-07T18:02:13.455Z] ---> Running in 5d38ec69395d [2024-08-07T18:02:13.455Z] Removing intermediate container 5d38ec69395d [2024-08-07T18:02:13.455Z] ---> 20f9869199f6 [2024-08-07T18:02:13.455Z] Step 32/37 : EXPOSE 8554 [2024-08-07T18:02:13.719Z] ---> Running in 3d1b4db0e511 [2024-08-07T18:02:13.983Z] Removing intermediate container 3d1b4db0e511 [2024-08-07T18:02:13.983Z] ---> 60e473554d2c [2024-08-07T18:02:13.983Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-08-07T18:02:13.983Z] ---> Running in 1f70d094cac8 [2024-08-07T18:02:14.248Z] Removing intermediate container 1f70d094cac8 [2024-08-07T18:02:14.248Z] ---> aa8265f6b685 [2024-08-07T18:02:14.248Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-08-07T18:02:14.248Z] ---> Running in bd5f225421f9 [2024-08-07T18:02:14.826Z] Removing intermediate container bd5f225421f9 [2024-08-07T18:02:14.826Z] ---> 9ba3594b4677 [2024-08-07T18:02:14.826Z] Step 35/37 : LABEL arch=arm64 [2024-08-07T18:02:14.826Z] ---> Running in 1b30be968263 [2024-08-07T18:02:15.090Z] Removing intermediate container 1b30be968263 [2024-08-07T18:02:15.090Z] ---> 8dbcc812c187 [2024-08-07T18:02:15.090Z] Step 36/37 : LABEL git_sha=bba23f4b70125d296a1433c3a52cccf6b00e2c1d [2024-08-07T18:02:15.090Z] ---> Running in 58a3d792c11c [2024-08-07T18:02:15.354Z] Removing intermediate container 58a3d792c11c [2024-08-07T18:02:15.354Z] ---> 6a4ade402134 [2024-08-07T18:02:15.354Z] Step 37/37 : LABEL version=0.0.0 [2024-08-07T18:02:15.354Z] ---> Running in b48c5a479ea2 [2024-08-07T18:02:15.617Z] Removing intermediate container b48c5a479ea2 [2024-08-07T18:02:15.617Z] ---> 18246456269e [2024-08-07T18:02:15.617Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T18:02:15.880Z] Successfully built 18246456269e [2024-08-07T18:02:15.880Z] 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-08-07T18:02:16.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T18:02:16.790Z] [2024-08-07T18:02:16.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:02:17.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T18:02:17.210Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T18:02:17.210Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T18:02:17.210Z] 04944245beec: Pulling fs layer [2024-08-07T18:02:17.210Z] 699f458cf7ca: Pulling fs layer [2024-08-07T18:02:17.210Z] 765212b225bb: Pulling fs layer [2024-08-07T18:02:17.210Z] f23df028b6ca: Pulling fs layer [2024-08-07T18:02:17.210Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T18:02:17.210Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T18:02:17.210Z] 765212b225bb: Waiting [2024-08-07T18:02:17.210Z] d65c8cfc05b1: Waiting [2024-08-07T18:02:17.210Z] 2437ff75d9bd: Waiting [2024-08-07T18:02:17.210Z] f23df028b6ca: Waiting [2024-08-07T18:02:17.495Z] 04944245beec: Verifying Checksum [2024-08-07T18:02:17.495Z] 04944245beec: Download complete [2024-08-07T18:02:17.495Z] 765212b225bb: Verifying Checksum [2024-08-07T18:02:17.495Z] 765212b225bb: Download complete [2024-08-07T18:02:17.495Z] f23df028b6ca: Verifying Checksum [2024-08-07T18:02:17.495Z] f23df028b6ca: Download complete [2024-08-07T18:02:17.495Z] d65c8cfc05b1: Download complete [2024-08-07T18:02:17.495Z] 699f458cf7ca: Verifying Checksum [2024-08-07T18:02:17.495Z] 699f458cf7ca: Download complete [2024-08-07T18:02:18.071Z] 8998bd30e6a1: Verifying Checksum [2024-08-07T18:02:18.071Z] 8998bd30e6a1: Download complete [2024-08-07T18:02:20.637Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T18:02:20.637Z] 2437ff75d9bd: Download complete [2024-08-07T18:02:22.571Z] 8998bd30e6a1: Pull complete [2024-08-07T18:02:23.152Z] 04944245beec: Pull complete [2024-08-07T18:02:24.555Z] 699f458cf7ca: Pull complete [2024-08-07T18:02:24.820Z] 765212b225bb: Pull complete [2024-08-07T18:02:26.223Z] f23df028b6ca: Pull complete [2024-08-07T18:02:26.223Z] d65c8cfc05b1: Pull complete [2024-08-07T18:02:44.420Z] 2437ff75d9bd: Pull complete [2024-08-07T18:02:44.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T18:02:44.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T18:02:44.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:02:44.774Z] prd-ubuntu20.04-docker-arm64-4c-16g-7308 does not seem to be running inside a container [2024-08-07T18:02:44.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-07T18:02:47.311Z] $ docker top 179cecff06eb248356b7d921c6c31acfdfc5cb4adb51c62bdd29bb5a02e423cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:02:48.254Z] ---> job-cost.sh [2024-08-07T18:02:48.254Z] lf-activate-venv: SKIPPING [2024-08-07T18:02:48.254Z] INFO: No Stack... [2024-08-07T18:02:48.832Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T18:02:49.409Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T18:02:49.752Z] + cut -d, -f6 [2024-08-07T18:02:49.752Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2024-08-07T18:02:50.094Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] [2024-08-07T18:02:50.100Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] did not exist. Created. [2024-08-07T18:02:50.106Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T18:02:50.845Z] /w/workspace/device-usb-camera/1@tmp/durable-e8154288/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T18:02:51.518Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T18:02:51.560Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T18:02:51.616Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T18:02:51.636Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-343-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T18:02:51.734Z] $ docker stop --time=1 179cecff06eb248356b7d921c6c31acfdfc5cb4adb51c62bdd29bb5a02e423cf [2024-08-07T18:02:53.209Z] $ docker rm -f --volumes 179cecff06eb248356b7d921c6c31acfdfc5cb4adb51c62bdd29bb5a02e423cf [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-08-07T18:02:54.438Z] provisioning config files... [2024-08-07T18:02:54.449Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-343@tmp/config13862350399830967172tmp [Pipeline] { [Pipeline] sh [2024-08-07T18:02:54.803Z] + set +x [2024-08-07T18:02:54.803Z] + curl -s https://codecov.io/bash [2024-08-07T18:02:54.803Z] + bash -s -- [2024-08-07T18:02:54.803Z] [2024-08-07T18:02:54.803Z] _____ _ [2024-08-07T18:02:54.803Z] / ____| | | [2024-08-07T18:02:54.803Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T18:02:54.803Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T18:02:54.803Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T18:02:54.803Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T18:02:54.803Z] Bash-1.0.6 [2024-08-07T18:02:54.803Z] [2024-08-07T18:02:54.803Z] [2024-08-07T18:02:54.803Z] ==> git version 2.25.1 found [2024-08-07T18:02:54.803Z] ==> 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-08-07T18:02:54.803Z] Release-Date: 2020-01-08 [2024-08-07T18:02:54.803Z] 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-08-07T18:02:54.804Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T18:02:54.804Z] ==> Jenkins CI detected. [2024-08-07T18:02:54.804Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-343 [2024-08-07T18:02:54.804Z] project root: . [2024-08-07T18:02:54.804Z] --> token set from env [2024-08-07T18:02:54.804Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T18:02:54.804Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T18:02:54.804Z] ==> Python coveragepy not found [2024-08-07T18:02:54.804Z] ==> Searching for coverage reports in: [2024-08-07T18:02:54.804Z] + . [2024-08-07T18:02:54.804Z] -> Found 1 reports [2024-08-07T18:02:54.804Z] ==> Detecting git/mercurial file structure [2024-08-07T18:02:55.063Z] ==> Reading reports [2024-08-07T18:02:55.063Z] + ./coverage.out bytes=54703 [2024-08-07T18:02:55.063Z] ==> Appending adjustments [2024-08-07T18:02:55.063Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T18:02:55.063Z] + Found adjustments [2024-08-07T18:02:55.063Z] ==> Gzipping contents [2024-08-07T18:02:55.063Z] 8.0K /tmp/codecov.e9bfHP.gz [2024-08-07T18:02:55.063Z] ==> Uploading reports [2024-08-07T18:02:55.063Z] url: https://codecov.io [2024-08-07T18:02:55.063Z] query: branch=PR-343&commit=bba23f4b70125d296a1433c3a52cccf6b00e2c1d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=343&job=&cmd_args= [2024-08-07T18:02:55.063Z] -> Pinging Codecov [2024-08-07T18:02:55.063Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-343&commit=bba23f4b70125d296a1433c3a52cccf6b00e2c1d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-343%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=343&job=&cmd_args= [2024-08-07T18:02:55.322Z] -> Uploading to [2024-08-07T18:02:55.322Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/73D8F5FF140700D3E01443B452E23636/bba23f4b70125d296a1433c3a52cccf6b00e2c1d/5d1841c4-eab2-4e80-a145-84b82424b9c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T180255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3013da69d4bcf2bc81f069ffb2267edaaad5ded5620eb9e144d723d2fe9b9a2 [2024-08-07T18:02:55.322Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T18:02:55.322Z] Dload Upload Total Spent Left Speed [2024-08-07T18:02:55.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 27111 --:--:-- --:--:-- --:--:-- 27003 [2024-08-07T18:02:55.582Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bba23f4b70125d296a1433c3a52cccf6b00e2c1d [Pipeline] } [2024-08-07T18:02:55.646Z] 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-08-07T18:02:57.919Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-343/archives ] [2024-08-07T18:02:57.920Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-343/archives [2024-08-07T18:02:57.920Z] total 16 [2024-08-07T18:02:57.920Z] drwxr-xr-x 3 root root 4096 Aug 7 17:51 . [2024-08-07T18:02:57.920Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 17:51 .. [2024-08-07T18:02:57.920Z] drwxr-xr-x 2 root root 4096 Aug 7 17:51 cost [2024-08-07T18:02:57.920Z] -rw-r--r-- 1 root root 89 Aug 7 17:51 cost.csv [2024-08-07T18:02:57.920Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-343/archives [2024-08-07T18:02:57.920Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-343/archives [2024-08-07T18:02:57.920Z] total 16 [2024-08-07T18:02:57.920Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 17:51 . [2024-08-07T18:02:57.920Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 17:51 .. [2024-08-07T18:02:57.920Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 17:51 cost [2024-08-07T18:02:57.920Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 7 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:02:58.265Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:02:59.167Z] ---> package-listing.sh [2024-08-07T18:02:59.167Z] ++ facter osfamily [2024-08-07T18:02:59.167Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T18:02:59.428Z] + OS_FAMILY=debian [2024-08-07T18:02:59.428Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-343 [2024-08-07T18:02:59.428Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T18:02:59.428Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T18:02:59.428Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T18:02:59.428Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T18:02:59.428Z] + '[' /w/workspace/foundry_device-usb-camera_PR-343 ']' [2024-08-07T18:02:59.428Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T18:02:59.428Z] + case "${OS_FAMILY}" in [2024-08-07T18:02:59.428Z] + dpkg -l [2024-08-07T18:02:59.428Z] + grep '^ii' [2024-08-07T18:02:59.428Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T18:02:59.428Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T18:02:59.428Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T18:02:59.428Z] + '[' /w/workspace/foundry_device-usb-camera_PR-343 ']' [2024-08-07T18:02:59.428Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-343/archives/ [2024-08-07T18:02:59.428Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-343/archives/ [Pipeline] echo [2024-08-07T18:02:59.468Z] 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-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T18:02:59.769Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:03:00.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:03:00.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:03:00.588Z] prd-ubuntu20.04-docker-8c-8g-7307 does not seem to be running inside a container [2024-08-07T18:03:00.607Z] $ 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-343/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-343 -v /w/workspace/foundry_device-usb-camera_PR-343:/w/workspace/foundry_device-usb-camera_PR-343:rw,z -v /w/workspace/foundry_device-usb-camera_PR-343@tmp:/w/workspace/foundry_device-usb-camera_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-07T18:03:00.844Z] $ docker top 949efa05d8f138829726043aee3d80b0bef936734d2c154095c35cb452108590 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:03:01.263Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T18:03:01.587Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T18:03:01.994Z] + ls /var/log/sa-host [2024-08-07T18:03:01.994Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T18:03:02.327Z] provisioning config files... [2024-08-07T18:03:02.353Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-343@tmp/config8992184028277909532tmp [Pipeline] { [Pipeline] echo [2024-08-07T18:03:02.420Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:03:02.822Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T18:03:02.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:03:03.337Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T18:03:03.378Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:03:03.723Z] ---> sudo-logs.sh [2024-08-07T18:03:03.723Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T18:03:03.894Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:03:04.229Z] ---> job-cost.sh [2024-08-07T18:03:04.229Z] lf-activate-venv: SKIPPING [2024-08-07T18:03:04.229Z] DEBUG: total: 0.2199999988079071 [2024-08-07T18:03:04.229Z] INFO: Retrieving Stack Cost... [2024-08-07T18:03:04.491Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T18:03:05.059Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T18:03:05.107Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:03:05.434Z] ---> logs-deploy.sh [2024-08-07T18:03:05.435Z] lf-activate-venv: SKIPPING [2024-08-07T18:03:05.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-343/1 [2024-08-07T18:03:05.435Z] INFO: archiving workspace using pattern(s): [2024-08-07T18:03:06.376Z] Archives upload complete. [2024-08-07T18:03:06.638Z] INFO: archiving logs to Nexus [2024-08-07T18:03:07.212Z] ---> uname -a: [2024-08-07T18:03:07.212Z] Linux prd-ubuntu20-04-docker-8c-8g-7307 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-08-07T18:03:07.212Z] [2024-08-07T18:03:07.212Z]