Pull request #335 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c2a5efa92860029cd8e5acc233c360e99f07ab8+edfedc822c0dc9db28708e00dec995595c43813c (b5e55d868c1de43a207b349391c9da8623deb910) 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-ssh18129503219521778735.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-ssh1780746038540220236.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-335/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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16473791826943030039.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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4709548422752673036.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-ssh9006495989239904292.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-335/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-335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh797906008122467370.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-4830 in /w/workspace/foundry_device-usb-camera_PR-335 [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-335 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit edfedc822c0dc9db28708e00dec995595c43813c into PR head commit 7c2a5efa92860029cd8e5acc233c360e99f07ab8 Merge succeeded, producing 7c2a5efa92860029cd8e5acc233c360e99f07ab8 Checking out Revision 7c2a5efa92860029cd8e5acc233c360e99f07ab8 (PR-335) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # 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 edfedc822c0dc9db28708e00dec995595c43813c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-02T17:28:41.452Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-02T17:28:41.696Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-02T17:28:41.817Z] ========================================================= [2024-07-02T17:28:41.817Z] EdgeX Global Pipelines Version Info [2024-07-02T17:28:41.817Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:28:42.592Z] ------------------- [2024-07-02T17:28:42.592Z] stable info: [2024-07-02T17:28:42.592Z] ------------------- [2024-07-02T17:28:42.592Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T17:28:42.592Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T17:28:42.592Z] Message: update stable to v1.0.260 [2024-07-02T17:28:43.162Z] ------------------- [2024-07-02T17:28:43.162Z] experimental info: [2024-07-02T17:28:43.162Z] ------------------- [2024-07-02T17:28:43.162Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T17:28:43.162Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-02T17:28:43.162Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-02T17:28:43.397Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-07-02T17:28:43.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-07-02T17:28:43.515Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-02T17:28:43.570Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-02T17:28:43.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-02T17:28:43.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-02T17:28:43.744Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-02T17:28:43.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-02T17:28:43.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-02T17:28:43.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-02T17:28:43.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-02T17:28:44.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-07-02T17:28:44.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-02T17:28:44.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-02T17:28:44.211Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T17:28:44.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T17:28:44.319Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T17:28:44.373Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T17:28:44.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-02T17:28:44.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-02T17:28:44.553Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-02T17:28:44.610Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-02T17:28:44.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-02T17:28:44.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-02T17:28:44.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-02T17:28:44.847Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-02T17:28:44.906Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-02T17:28:44.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo [2024-07-02T17:28:45.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo [2024-07-02T17:28:45.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo [2024-07-02T17:28:45.138Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo [2024-07-02T17:28:45.197Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c2a5ef [Pipeline] echo [2024-07-02T17:28:45.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T17:28:45.421Z] provisioning config files... [2024-07-02T17:28:45.436Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config7764757533691440249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:28:45.840Z] ---> ****-login.sh [2024-07-02T17:28:45.840Z] nexus3.edgexfoundry.org:10001 [2024-07-02T17:28:46.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:28:46.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:28:46.101Z] Configure a credential helper to remove this warning. See [2024-07-02T17:28:46.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:28:46.101Z] [2024-07-02T17:28:46.101Z] Login Succeeded [2024-07-02T17:28:46.101Z] nexus3.edgexfoundry.org:10002 [2024-07-02T17:28:46.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:28:46.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:28:46.362Z] Configure a credential helper to remove this warning. See [2024-07-02T17:28:46.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:28:46.362Z] [2024-07-02T17:28:46.362Z] Login Succeeded [2024-07-02T17:28:46.362Z] nexus3.edgexfoundry.org:10003 [2024-07-02T17:28:46.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:28:46.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:28:46.362Z] Configure a credential helper to remove this warning. See [2024-07-02T17:28:46.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:28:46.362Z] [2024-07-02T17:28:46.362Z] Login Succeeded [2024-07-02T17:28:46.362Z] nexus3.edgexfoundry.org:10004 [2024-07-02T17:28:46.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:28:46.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:28:46.622Z] Configure a credential helper to remove this warning. See [2024-07-02T17:28:46.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:28:46.622Z] [2024-07-02T17:28:46.622Z] Login Succeeded [2024-07-02T17:28:46.622Z] ****.io [2024-07-02T17:28:46.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:28:46.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:28:46.882Z] Configure a credential helper to remove this warning. See [2024-07-02T17:28:46.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:28:46.882Z] [2024-07-02T17:28:46.882Z] Login Succeeded [2024-07-02T17:28:46.882Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T17:28:46.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-02T17:28:47.658Z] + git rev-list -1 --merges 7c2a5efa92860029cd8e5acc233c360e99f07ab8~1..7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo [2024-07-02T17:28:47.708Z] -----------> git rev-list -1 --merges 7c2a5efa92860029cd8e5acc233c360e99f07ab8~1..7c2a5efa92860029cd8e5acc233c360e99f07ab8 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [false] [Pipeline] sh [2024-07-02T17:28:48.039Z] + git log --format=format:%s -1 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo [2024-07-02T17:28:48.086Z] ========================================================= [2024-07-02T17:28:48.086Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-02T17:28:48.086Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T17:28:48.589Z] + git log --format=format:%s -1 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] echo [2024-07-02T17:28:48.639Z] [semverPrep] GIT_COMMIT: 7c2a5efa92860029cd8e5acc233c360e99f07ab8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-02T17:28:48.684Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-02T17:28:49.112Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T17:28:49.112Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-02T17:28:49.112Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-02T17:28:49.112Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-02T17:28:49.112Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-02T17:28:49.112Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-02T17:28:49.112Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:28:49.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T17:28:49.659Z] [2024-07-02T17:28:49.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:28:50.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T17:28:50.079Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-02T17:28:50.079Z] b85a868b505f: Pulling fs layer [2024-07-02T17:28:50.079Z] e2be974225ed: Pulling fs layer [2024-07-02T17:28:50.079Z] 339a4e72a1f5: Pulling fs layer [2024-07-02T17:28:50.079Z] 988bab9f4d93: Pulling fs layer [2024-07-02T17:28:50.079Z] 1469e6f7b9e6: Pulling fs layer [2024-07-02T17:28:50.079Z] eaf3925da568: Pulling fs layer [2024-07-02T17:28:50.079Z] bab4dde63d76: Pulling fs layer [2024-07-02T17:28:50.079Z] bde34c3a00c8: Pulling fs layer [2024-07-02T17:28:50.079Z] b352a97aabf1: Pulling fs layer [2024-07-02T17:28:50.079Z] 4872d77fe225: Pulling fs layer [2024-07-02T17:28:50.079Z] 5851b861e8e6: Pulling fs layer [2024-07-02T17:28:50.079Z] 1469e6f7b9e6: Waiting [2024-07-02T17:28:50.079Z] eaf3925da568: Waiting [2024-07-02T17:28:50.079Z] bab4dde63d76: Waiting [2024-07-02T17:28:50.079Z] bde34c3a00c8: Waiting [2024-07-02T17:28:50.079Z] b352a97aabf1: Waiting [2024-07-02T17:28:50.079Z] 4872d77fe225: Waiting [2024-07-02T17:28:50.079Z] 988bab9f4d93: Waiting [2024-07-02T17:28:50.079Z] e2be974225ed: Verifying Checksum [2024-07-02T17:28:50.079Z] e2be974225ed: Download complete [2024-07-02T17:28:50.079Z] 988bab9f4d93: Download complete [2024-07-02T17:28:50.340Z] 1469e6f7b9e6: Verifying Checksum [2024-07-02T17:28:50.340Z] 1469e6f7b9e6: Download complete [2024-07-02T17:28:50.340Z] eaf3925da568: Verifying Checksum [2024-07-02T17:28:50.340Z] eaf3925da568: Download complete [2024-07-02T17:28:50.340Z] 339a4e72a1f5: Verifying Checksum [2024-07-02T17:28:50.340Z] 339a4e72a1f5: Download complete [2024-07-02T17:28:50.340Z] bde34c3a00c8: Download complete [2024-07-02T17:28:50.340Z] b352a97aabf1: Verifying Checksum [2024-07-02T17:28:50.340Z] b352a97aabf1: Download complete [2024-07-02T17:28:50.340Z] 4872d77fe225: Verifying Checksum [2024-07-02T17:28:50.340Z] 4872d77fe225: Download complete [2024-07-02T17:28:50.340Z] 5851b861e8e6: Download complete [2024-07-02T17:28:50.340Z] b85a868b505f: Download complete [2024-07-02T17:28:50.599Z] bab4dde63d76: Verifying Checksum [2024-07-02T17:28:50.599Z] bab4dde63d76: Download complete [2024-07-02T17:28:51.536Z] b85a868b505f: Pull complete [2024-07-02T17:28:51.795Z] e2be974225ed: Pull complete [2024-07-02T17:28:52.365Z] 339a4e72a1f5: Pull complete [2024-07-02T17:28:52.365Z] 988bab9f4d93: Pull complete [2024-07-02T17:28:52.627Z] 1469e6f7b9e6: Pull complete [2024-07-02T17:28:52.889Z] eaf3925da568: Pull complete [2024-07-02T17:28:54.800Z] bab4dde63d76: Pull complete [2024-07-02T17:28:54.800Z] bde34c3a00c8: Pull complete [2024-07-02T17:28:54.800Z] b352a97aabf1: Pull complete [2024-07-02T17:28:55.060Z] 4872d77fe225: Pull complete [2024-07-02T17:28:55.060Z] 5851b861e8e6: Pull complete [2024-07-02T17:28:55.060Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-02T17:28:55.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T17:28:55.060Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:28:55.362Z] prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container [2024-07-02T17:28:55.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@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-07-02T17:28:59.561Z] $ docker top aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 -eo pid,comm [2024-07-02T17:28:59.662Z] 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-07-02T17:28:59.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T17:28:59.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T17:28:59.844Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T17:28:59.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T17:28:59.946Z] $ docker exec aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent [2024-07-02T17:29:00.070Z] SSH_AUTH_SOCK=/tmp/ssh-m9G4S0bNzfwr/agent.33 [2024-07-02T17:29:00.070Z] SSH_AGENT_PID=39 [2024-07-02T17:29:00.076Z] Running ssh-add (command line suppressed) [2024-07-02T17:29:00.176Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_7400345386395793847.key (/w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_7400345386395793847.key) [2024-07-02T17:29:00.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T17:29:00.538Z] + git tag --points-at HEAD [Pipeline] } [2024-07-02T17:29:00.567Z] $ docker exec --env ******** --env ******** aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent -k [2024-07-02T17:29:00.664Z] unset SSH_AUTH_SOCK; [2024-07-02T17:29:00.664Z] unset SSH_AGENT_PID; [2024-07-02T17:29:00.664Z] echo Agent pid 39 killed; [2024-07-02T17:29:00.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-02T17:29:00.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T17:29:00.794Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T17:29:00.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T17:29:00.903Z] $ docker exec aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent [2024-07-02T17:29:01.012Z] SSH_AUTH_SOCK=/tmp/ssh-PTfly6gh9774/agent.72 [2024-07-02T17:29:01.012Z] SSH_AGENT_PID=78 [2024-07-02T17:29:01.016Z] Running ssh-add (command line suppressed) [2024-07-02T17:29:01.110Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_6179850397783159592.key (/w/workspace/foundry_device-usb-camera_PR-335@tmp/private_key_6179850397783159592.key) [2024-07-02T17:29:01.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T17:29:01.473Z] + git semver init [2024-07-02T17:29:01.734Z] 2024-07-02 17:29:01,718 [run_init] DEBUG init version:0.0.0 force:False [2024-07-02T17:29:01.734Z] 2024-07-02 17:29:01,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-335/.semver [2024-07-02T17:29:01.734Z] 2024-07-02 17:29:01,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-335/.semver [2024-07-02T17:29:01.734Z] 2024-07-02 17:29:01,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-335/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-335, universal_newlines=False, shell=None, istream=None) [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,504 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-335/.git/info/exclude [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,505 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-335/.semver/PR-335 with force:False [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,505 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-335/.semver/PR-335 [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,509 [execute] INFO git cat-file --batch-check [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-335/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,516 [execute] INFO git cat-file --batch [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-335/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T17:29:03.645Z] 2024-07-02 17:29:03,521 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-335/.semver/PR-335 [2024-07-02T17:29:03.645Z] 0.0.0 [Pipeline] } [2024-07-02T17:29:03.670Z] $ docker exec --env ******** --env ******** aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 ssh-agent -k [2024-07-02T17:29:03.771Z] unset SSH_AUTH_SOCK; [2024-07-02T17:29:03.772Z] unset SSH_AGENT_PID; [2024-07-02T17:29:03.772Z] echo Agent pid 78 killed; [2024-07-02T17:29:03.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T17:29:04.262Z] + git semver [Pipeline] } [2024-07-02T17:29:04.546Z] $ docker stop --time=1 aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 [2024-07-02T17:29:06.149Z] $ docker rm -f --volumes aeee7734541ff023f0339a529e37102ba8e8a3e7bb21319d1532397415717880 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T17:29:06.654Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-02T17:29:06.977Z] Stashed 1 file(s) [Pipeline] echo [2024-07-02T17:29:07.000Z] [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-07-02T17:29:07.672Z] provisioning config files... [2024-07-02T17:29:07.680Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config14689091615218986641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:29:08.054Z] ---> ****-login.sh [2024-07-02T17:29:08.054Z] nexus3.edgexfoundry.org:10001 [2024-07-02T17:29:08.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:29:08.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:29:08.054Z] Configure a credential helper to remove this warning. See [2024-07-02T17:29:08.054Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:29:08.054Z] [2024-07-02T17:29:08.054Z] Login Succeeded [2024-07-02T17:29:08.054Z] nexus3.edgexfoundry.org:10002 [2024-07-02T17:29:08.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:29:08.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:29:08.055Z] Configure a credential helper to remove this warning. See [2024-07-02T17:29:08.055Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:29:08.055Z] [2024-07-02T17:29:08.055Z] Login Succeeded [2024-07-02T17:29:08.055Z] nexus3.edgexfoundry.org:10003 [2024-07-02T17:29:08.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:29:08.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:29:08.315Z] Configure a credential helper to remove this warning. See [2024-07-02T17:29:08.315Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:29:08.315Z] [2024-07-02T17:29:08.315Z] Login Succeeded [2024-07-02T17:29:08.315Z] nexus3.edgexfoundry.org:10004 [2024-07-02T17:29:08.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:29:08.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:29:08.316Z] Configure a credential helper to remove this warning. See [2024-07-02T17:29:08.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:29:08.316Z] [2024-07-02T17:29:08.316Z] Login Succeeded [2024-07-02T17:29:08.316Z] ****.io [2024-07-02T17:29:08.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:29:08.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:29:08.578Z] Configure a credential helper to remove this warning. See [2024-07-02T17:29:08.578Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:29:08.578Z] [2024-07-02T17:29:08.578Z] Login Succeeded [2024-07-02T17:29:08.578Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T17:29:08.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T17:29:08.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T17:29:08.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T17:29:08.943Z] ========================================================= [2024-07-02T17:29:08.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-02T17:29:08.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:29:09.472Z] + 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-07-02T17:29:09.472Z] Sending build context to Docker daemon 20.43MB [2024-07-02T17:29:09.472Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T17:29:09.472Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-02T17:29:09.754Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-02T17:29:09.754Z] 619be1103602: Pulling fs layer [2024-07-02T17:29:09.754Z] 7862e08f4a3e: Pulling fs layer [2024-07-02T17:29:09.754Z] 5df492c9dc93: Pulling fs layer [2024-07-02T17:29:09.754Z] 7629e6793208: Pulling fs layer [2024-07-02T17:29:09.754Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T17:29:09.754Z] fb5054dd5b73: Pulling fs layer [2024-07-02T17:29:09.754Z] eeca6798cff9: Pulling fs layer [2024-07-02T17:29:09.754Z] aa269ceb94a6: Pulling fs layer [2024-07-02T17:29:09.754Z] ada007ff1a6a: Pulling fs layer [2024-07-02T17:29:09.754Z] 7629e6793208: Waiting [2024-07-02T17:29:09.754Z] 4f4fb700ef54: Waiting [2024-07-02T17:29:09.754Z] fb5054dd5b73: Waiting [2024-07-02T17:29:09.754Z] eeca6798cff9: Waiting [2024-07-02T17:29:09.754Z] aa269ceb94a6: Waiting [2024-07-02T17:29:09.754Z] ada007ff1a6a: Waiting [2024-07-02T17:29:09.754Z] 7862e08f4a3e: Download complete [2024-07-02T17:29:09.754Z] 7629e6793208: Download complete [2024-07-02T17:29:09.754Z] 4f4fb700ef54: Download complete [2024-07-02T17:29:09.754Z] fb5054dd5b73: Verifying Checksum [2024-07-02T17:29:09.754Z] fb5054dd5b73: Download complete [2024-07-02T17:29:09.754Z] 619be1103602: Download complete [2024-07-02T17:29:09.754Z] eeca6798cff9: Download complete [2024-07-02T17:29:10.013Z] 619be1103602: Pull complete [2024-07-02T17:29:10.013Z] ada007ff1a6a: Verifying Checksum [2024-07-02T17:29:10.013Z] ada007ff1a6a: Download complete [2024-07-02T17:29:10.013Z] 7862e08f4a3e: Pull complete [2024-07-02T17:29:10.271Z] 5df492c9dc93: Verifying Checksum [2024-07-02T17:29:10.271Z] 5df492c9dc93: Download complete [2024-07-02T17:29:10.530Z] aa269ceb94a6: Verifying Checksum [2024-07-02T17:29:10.530Z] aa269ceb94a6: Download complete [2024-07-02T17:29:13.077Z] 5df492c9dc93: Pull complete [2024-07-02T17:29:13.336Z] 7629e6793208: Pull complete [2024-07-02T17:29:13.336Z] 4f4fb700ef54: Pull complete [2024-07-02T17:29:13.336Z] fb5054dd5b73: Pull complete [2024-07-02T17:29:13.595Z] eeca6798cff9: Pull complete [2024-07-02T17:29:16.126Z] aa269ceb94a6: Pull complete [2024-07-02T17:29:16.385Z] ada007ff1a6a: Pull complete [2024-07-02T17:29:16.644Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-02T17:29:16.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-02T17:29:16.644Z] ---> f489d0715acc [2024-07-02T17:29:16.644Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-02T17:29:22.481Z] Still waiting to schedule task [2024-07-02T17:29:22.481Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-02T17:29:24.774Z] ---> Running in 9cf1854394db [2024-07-02T17:29:24.774Z] Removing intermediate container 9cf1854394db [2024-07-02T17:29:24.774Z] ---> 17818f0184a2 [2024-07-02T17:29:24.774Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T17:29:24.774Z] ---> Running in 9c0ece92ed76 [2024-07-02T17:29:24.774Z] Removing intermediate container 9c0ece92ed76 [2024-07-02T17:29:24.774Z] ---> 0844ab8de386 [2024-07-02T17:29:24.774Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-07-02T17:29:24.774Z] ---> Running in 4d0da629ac10 [2024-07-02T17:29:24.774Z] Removing intermediate container 4d0da629ac10 [2024-07-02T17:29:24.774Z] ---> f8bc6f796834 [2024-07-02T17:29:24.774Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-07-02T17:29:24.774Z] ---> Running in 872502340ce9 [2024-07-02T17:29:24.774Z] Removing intermediate container 872502340ce9 [2024-07-02T17:29:24.774Z] ---> 19cab8c08364 [2024-07-02T17:29:24.774Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T17:29:24.774Z] ---> Running in 1168b697fe99 [2024-07-02T17:29:24.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T17:29:24.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T17:29:24.774Z] (1/13) Installing libintl (0.21.1-r7) [2024-07-02T17:29:24.774Z] (2/13) Installing eudev-libs (3.2.11-r8) [2024-07-02T17:29:24.774Z] (3/13) Installing libjpeg-turbo (2.1.5.1-r3) [2024-07-02T17:29:24.774Z] (4/13) Installing v4l-utils-libs (1.24.1-r0) [2024-07-02T17:29:24.774Z] (5/13) Installing v4l-utils (1.24.1-r0) [2024-07-02T17:29:25.033Z] (6/13) Installing libdvbv5 (1.24.1-r0) [2024-07-02T17:29:25.033Z] (7/13) Installing udev-init-scripts (35-r1) [2024-07-02T17:29:25.033Z] (8/13) Installing libblkid (2.38.1-r8) [2024-07-02T17:29:25.033Z] (9/13) Installing xz-libs (5.4.3-r0) [2024-07-02T17:29:25.033Z] (10/13) Installing kmod-libs (30-r3) [2024-07-02T17:29:25.033Z] (11/13) Installing eudev (3.2.11-r8) [2024-07-02T17:29:25.033Z] (12/13) Installing eudev-dev (3.2.11-r8) [2024-07-02T17:29:25.033Z] (13/13) Installing v4l-utils-dev (1.24.1-r0) [2024-07-02T17:29:25.292Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T17:29:25.292Z] Executing eudev-3.2.11-r8.trigger [2024-07-02T17:29:25.292Z] OK: 271 MiB in 65 packages [2024-07-02T17:29:25.863Z] Removing intermediate container 1168b697fe99 [2024-07-02T17:29:25.863Z] ---> 026bdfa9ad1b [2024-07-02T17:29:25.863Z] Step 8/13 : WORKDIR /device-usb-camera [2024-07-02T17:29:25.863Z] ---> Running in 46d2d44d5e13 [2024-07-02T17:29:26.122Z] Removing intermediate container 46d2d44d5e13 [2024-07-02T17:29:26.122Z] ---> 6dcde0f8fb62 [2024-07-02T17:29:26.122Z] Step 9/13 : COPY go.mod vendor* ./ [2024-07-02T17:29:26.122Z] ---> a69b7ac76a9c [2024-07-02T17:29:26.122Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T17:29:26.122Z] ---> Running in 823c5fa633f1 [2024-07-02T17:30:34.086Z] Removing intermediate container 823c5fa633f1 [2024-07-02T17:30:34.086Z] ---> 6f8c1d8ce961 [2024-07-02T17:30:34.086Z] Step 11/13 : COPY . . [2024-07-02T17:30:34.654Z] ---> f58a7dd31116 [2024-07-02T17:30:34.654Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-07-02T17:30:34.914Z] ---> Running in f654a84c6228 [2024-07-02T17:30:35.852Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2024-07-02T17:30:35.852Z]  Dload Upload Total Spent Left Speed [2024-07-02T17:30:35.852Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9381 0 --:--:-- --:--:-- --:--:-- 9482 [2024-07-02T17:30:36.419Z] Removing intermediate container f654a84c6228 [2024-07-02T17:30:36.419Z] ---> 6bb479a9508e [2024-07-02T17:30:36.419Z] Step 13/13 : RUN ${MAKE} [2024-07-02T17:30:36.419Z] ---> Running in c000647abeef [2024-07-02T17:30:36.678Z] noop [2024-07-02T17:30:37.247Z] Removing intermediate container c000647abeef [2024-07-02T17:30:37.247Z] ---> f5c693574228 [2024-07-02T17:30:37.247Z] Successfully built f5c693574228 [2024-07-02T17:30:37.247Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:30:37.743Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T17:30:37.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:30:37.927Z] prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container [2024-07-02T17:30:37.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@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-07-02T17:30:39.550Z] $ docker top c2d6d4d5f563be9741592720c4739497c78ae1c75fc768c7500d1b638c021e8b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T17:30:39.964Z] + go version [2024-07-02T17:30:39.964Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-02T17:30:39.999Z] $ docker stop --time=1 c2d6d4d5f563be9741592720c4739497c78ae1c75fc768c7500d1b638c021e8b [2024-07-02T17:30:41.571Z] $ docker rm -f --volumes c2d6d4d5f563be9741592720c4739497c78ae1c75fc768c7500d1b638c021e8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:30:42.401Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T17:30:42.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:30:42.582Z] prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container [2024-07-02T17:30:42.609Z] $ 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-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@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-07-02T17:30:42.984Z] $ docker top cbfbae720c4947732b2de63ea7cfae648d0708d080fd557a59b084f18ebd24b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T17:30:43.407Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-335 [Pipeline] fileExists [Pipeline] sh [2024-07-02T17:30:43.796Z] + make test [2024-07-02T17:30:43.796Z] go test ./... -coverprofile=coverage.out ./... [2024-07-02T17:30:49.112Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-07-02T17:30:59.750Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4831 in /w/workspace/foundry_device-usb-camera_PR-335 [Pipeline] { [Pipeline] ws [2024-07-02T17:30:59.833Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2024-07-02T17:31:02.945Z] Selected Git installation does not exist. Using Default [2024-07-02T17:31:02.945Z] The recommended git tool is: NONE [2024-07-02T17:31:10.285Z] using credential edgex-jenkins-ssh [2024-07-02T17:31:10.308Z] Cloning the remote Git repository [2024-07-02T17:31:10.353Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-07-02T17:31:10.470Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2024-07-02T17:31:11.100Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2024-07-02T17:31:11.100Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 4.4% of statements [2024-07-02T17:31:10.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-07-02T17:31:10.775Z] > git --version # timeout=10 [2024-07-02T17:31:10.820Z] > git --version # 'git version 2.25.1' [2024-07-02T17:31:10.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T17:31:11.018Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T17:31:13.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-07-02T17:31:13.962Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T17:31:15.654Z] Merging remotes/origin/main commit edfedc822c0dc9db28708e00dec995595c43813c into PR head commit 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [2024-07-02T17:31:16.109Z] Merge succeeded, producing 7c2a5efa92860029cd8e5acc233c360e99f07ab8 [2024-07-02T17:31:16.110Z] Checking out Revision 7c2a5efa92860029cd8e5acc233c360e99f07ab8 (PR-335) [2024-07-02T17:31:14.933Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-07-02T17:31:15.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-07-02T17:31:15.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T17:31:15.040Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-02T17:31:15.673Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T17:31:15.814Z] > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # timeout=10 [2024-07-02T17:31:15.933Z] > git remote # timeout=10 [2024-07-02T17:31:15.976Z] > git config --get remote.origin.url # timeout=10 [2024-07-02T17:31:16.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T17:31:16.051Z] > git merge edfedc822c0dc9db28708e00dec995595c43813c # timeout=10 [2024-07-02T17:31:16.085Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-02T17:31:16.112Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T17:31:16.142Z] > git checkout -f 7c2a5efa92860029cd8e5acc233c360e99f07ab8 # timeout=10 [2024-07-02T17:31:16.866Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-02T17:31:16.924Z] > git --version # timeout=10 [2024-07-02T17:31:16.967Z] > git --version # 'git version 2.25.1' [2024-07-02T17:31:17.001Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T17:31:21.070Z] go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T17:31:22.136Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-02T17:31:22.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T17:31:22.136Z] Dload Upload Total Spent Left Speed [2024-07-02T17:31:22.136Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 100 12828 100 12828 0 0 92287 0 --:--:-- --:--:-- --:--:-- 92287 [Pipeline] sh [2024-07-02T17:31:22.491Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-02T17:31:22.839Z] + sudo tee /etc/docker/daemon.new [2024-07-02T17:31:22.839Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-02T17:31:22.839Z] { [2024-07-02T17:31:22.839Z] "registry-mirrors": [ [2024-07-02T17:31:22.839Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-02T17:31:22.839Z] ], [2024-07-02T17:31:22.839Z] "bip": "10.250.0.254/24", [2024-07-02T17:31:22.839Z] "hosts": [ [2024-07-02T17:31:22.839Z] "tcp://0.0.0.0:5555", [2024-07-02T17:31:22.839Z] "unix:///var/run/docker.sock" [2024-07-02T17:31:22.840Z] ], [2024-07-02T17:31:22.840Z] "mtu": 1458, [2024-07-02T17:31:22.840Z] "selinux-enabled": true, [2024-07-02T17:31:22.840Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-02T17:31:22.840Z] } [Pipeline] sh [2024-07-02T17:31:23.186Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-02T17:31:23.549Z] + sudo service docker restart [2024-07-02T17:31:27.657Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T17:31:27.657Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T17:31:27.657Z] ./bin/test-attribution-txt.sh [2024-07-02T17:31:27.657Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add [2024-07-02T17:31:27.657Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T17:31:27.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T17:31:27.742Z] $ docker stop --time=1 cbfbae720c4947732b2de63ea7cfae648d0708d080fd557a59b084f18ebd24b3 [2024-07-02T17:31:40.465Z] $ docker rm -f --volumes cbfbae720c4947732b2de63ea7cfae648d0708d080fd557a59b084f18ebd24b3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T17:31:41.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T17:31:41.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T17:31:41.957Z] provisioning config files... [2024-07-02T17:31:41.983Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14745951124237321768tmp [Pipeline] { [Pipeline] libraryResource [2024-07-02T17:31:42.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2024-07-02T17:31:42.469Z] ---> ****-login.sh [2024-07-02T17:31:42.469Z] nexus3.edgexfoundry.org:10001 [2024-07-02T17:31:42.591Z] + ls -al . [2024-07-02T17:31:42.591Z] total 292 [2024-07-02T17:31:42.591Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 17:30 . [2024-07-02T17:31:42.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 17:28 .. [2024-07-02T17:31:42.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 17:31 .git [2024-07-02T17:31:42.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:28 .github [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 379 Jul 2 17:28 .gitignore [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 2 17:28 .golangci.yml [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 2 17:28 .hadolint.yml [2024-07-02T17:31:42.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 17:29 .semver [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 10870 Jul 2 17:28 Attribution.txt [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 16561 Jul 2 17:28 CHANGELOG.md [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 2 17:28 Dockerfile [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 2 17:28 GOVERNANCE.md [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 2 17:28 Jenkinsfile [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 2 17:28 LICENSE [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 2611 Jul 2 17:28 Makefile [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 17:28 OWNERS.md [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 2 17:28 README.md [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 17:29 VERSION [2024-07-02T17:31:42.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:28 bin [2024-07-02T17:31:42.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:28 cmd [2024-07-02T17:31:42.591Z] -rw-r--r-- 1 jenkins jenkins 54703 Jul 2 17:31 coverage.out [2024-07-02T17:31:42.591Z] -rwxrwxr-x 1 jenkins jenkins 84 Jul 2 17:28 docker-entrypoint.sh [2024-07-02T17:31:42.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:28 docs [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 7266 Jul 2 17:28 go.mod [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 102297 Jul 2 17:28 go.sum [2024-07-02T17:31:42.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:28 internal [2024-07-02T17:31:42.591Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 2 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:31:43.011Z] + 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=7c2a5efa92860029cd8e5acc233c360e99f07ab8 --label arch=amd64 --label version=0.0.0 . [2024-07-02T17:31:43.011Z] Sending build context to Docker daemon 20.48MB [2024-07-02T17:31:43.011Z] Step 1/37 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T17:31:43.011Z] Step 2/37 : FROM ${BASE} AS builder [2024-07-02T17:31:43.011Z] ---> f5c693574228 [2024-07-02T17:31:43.011Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-07-02T17:31:43.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:31:43.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:31:43.056Z] Configure a credential helper to remove this warning. See [2024-07-02T17:31:43.056Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:31:43.056Z] [2024-07-02T17:31:43.056Z] Login Succeeded [2024-07-02T17:31:43.056Z] nexus3.edgexfoundry.org:10002 [2024-07-02T17:31:43.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:31:43.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:31:43.333Z] Configure a credential helper to remove this warning. See [2024-07-02T17:31:43.333Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:31:43.333Z] [2024-07-02T17:31:43.333Z] Login Succeeded [2024-07-02T17:31:43.333Z] nexus3.edgexfoundry.org:10003 [2024-07-02T17:31:43.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:31:43.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:31:43.877Z] Configure a credential helper to remove this warning. See [2024-07-02T17:31:43.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:31:43.877Z] [2024-07-02T17:31:43.877Z] Login Succeeded [2024-07-02T17:31:43.877Z] nexus3.edgexfoundry.org:10004 [2024-07-02T17:31:44.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:31:44.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:31:44.145Z] Configure a credential helper to remove this warning. See [2024-07-02T17:31:44.145Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:31:44.145Z] [2024-07-02T17:31:44.145Z] Login Succeeded [2024-07-02T17:31:44.145Z] ****.io [2024-07-02T17:31:44.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T17:31:44.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T17:31:44.680Z] Configure a credential helper to remove this warning. See [2024-07-02T17:31:44.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T17:31:44.680Z] [2024-07-02T17:31:44.680Z] Login Succeeded [2024-07-02T17:31:44.680Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T17:31:44.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T17:31:45.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T17:31:45.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T17:31:45.257Z] ========================================================= [2024-07-02T17:31:45.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-02T17:31:45.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:31:45.546Z] ---> Running in 52ea8d4844e5 [2024-07-02T17:31:45.795Z] + 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-07-02T17:31:46.141Z] Removing intermediate container 52ea8d4844e5 [2024-07-02T17:31:46.141Z] ---> 3677120e1b7a [2024-07-02T17:31:46.141Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T17:31:46.386Z] Sending build context to Docker daemon 10.48MB [2024-07-02T17:31:46.386Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T17:31:46.386Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-02T17:31:46.386Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-02T17:31:46.386Z] c6b39de5b339: Pulling fs layer [2024-07-02T17:31:46.386Z] a69c41024577: Pulling fs layer [2024-07-02T17:31:46.386Z] d6de4b400683: Pulling fs layer [2024-07-02T17:31:46.386Z] 35cb2a7552d0: Pulling fs layer [2024-07-02T17:31:46.386Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T17:31:46.386Z] 464afbd9ba4c: Pulling fs layer [2024-07-02T17:31:46.386Z] 00f215d4a9da: Pulling fs layer [2024-07-02T17:31:46.386Z] d496ad576159: Pulling fs layer [2024-07-02T17:31:46.386Z] 464afbd9ba4c: Waiting [2024-07-02T17:31:46.386Z] 00f215d4a9da: Waiting [2024-07-02T17:31:46.386Z] 35cb2a7552d0: Waiting [2024-07-02T17:31:46.386Z] 4f4fb700ef54: Waiting [2024-07-02T17:31:46.386Z] d496ad576159: Waiting [2024-07-02T17:31:46.386Z] a69c41024577: Verifying Checksum [2024-07-02T17:31:46.386Z] a69c41024577: Download complete [2024-07-02T17:31:46.653Z] 35cb2a7552d0: Verifying Checksum [2024-07-02T17:31:46.653Z] 35cb2a7552d0: Download complete [2024-07-02T17:31:46.653Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T17:31:46.653Z] 4f4fb700ef54: Download complete [2024-07-02T17:31:46.653Z] 464afbd9ba4c: Verifying Checksum [2024-07-02T17:31:46.653Z] 464afbd9ba4c: Download complete [2024-07-02T17:31:46.653Z] c6b39de5b339: Verifying Checksum [2024-07-02T17:31:46.653Z] c6b39de5b339: Download complete [2024-07-02T17:31:46.921Z] d496ad576159: Verifying Checksum [2024-07-02T17:31:46.921Z] d496ad576159: Download complete [2024-07-02T17:31:47.080Z] ---> Running in f255168c0708 [2024-07-02T17:31:47.509Z] c6b39de5b339: Pull complete [2024-07-02T17:31:47.648Z] Removing intermediate container f255168c0708 [2024-07-02T17:31:47.649Z] ---> dab7dbf72ea1 [2024-07-02T17:31:47.649Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-07-02T17:31:48.091Z] a69c41024577: Pull complete [2024-07-02T17:31:48.357Z] d6de4b400683: Verifying Checksum [2024-07-02T17:31:48.357Z] d6de4b400683: Download complete [2024-07-02T17:31:48.592Z] ---> Running in 60d6b9c6a1c2 [2024-07-02T17:31:49.529Z] Removing intermediate container 60d6b9c6a1c2 [2024-07-02T17:31:49.529Z] ---> 7749e71c1c7d [2024-07-02T17:31:49.529Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-07-02T17:31:49.760Z] 00f215d4a9da: Verifying Checksum [2024-07-02T17:31:49.760Z] 00f215d4a9da: Download complete [2024-07-02T17:31:49.788Z] ---> Running in 75c0e4138233 [2024-07-02T17:31:50.357Z] Removing intermediate container 75c0e4138233 [2024-07-02T17:31:50.357Z] ---> e3453d98e97e [2024-07-02T17:31:50.357Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T17:31:51.296Z] ---> Running in e007a440534f [2024-07-02T17:31:51.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T17:31:52.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T17:31:52.386Z] OK: 271 MiB in 65 packages [2024-07-02T17:31:53.766Z] Removing intermediate container e007a440534f [2024-07-02T17:31:53.766Z] ---> 8f5ea9d68c4f [2024-07-02T17:31:53.766Z] Step 8/37 : WORKDIR /device-usb-camera [2024-07-02T17:31:54.025Z] ---> Running in 74a9b2b228af [2024-07-02T17:31:55.410Z] Removing intermediate container 74a9b2b228af [2024-07-02T17:31:55.410Z] ---> 0fcb43bbd1f2 [2024-07-02T17:31:55.410Z] Step 9/37 : COPY go.mod vendor* ./ [2024-07-02T17:31:55.670Z] ---> f44485985186 [2024-07-02T17:31:55.670Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T17:31:56.242Z] ---> Running in 2621fdd073f3 [2024-07-02T17:31:58.796Z] Removing intermediate container 2621fdd073f3 [2024-07-02T17:31:58.796Z] ---> de6eb161443d [2024-07-02T17:31:58.796Z] Step 11/37 : COPY . . [2024-07-02T17:32:00.704Z] ---> 77b088598d29 [2024-07-02T17:32:00.704Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-07-02T17:32:01.274Z] ---> Running in b9436ca92ec6 [2024-07-02T17:32:02.064Z] d6de4b400683: Pull complete [2024-07-02T17:32:02.064Z] 35cb2a7552d0: Pull complete [2024-07-02T17:32:02.064Z] 4f4fb700ef54: Pull complete [2024-07-02T17:32:02.064Z] 464afbd9ba4c: Pull complete [2024-07-02T17:32:02.683Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T17:32:02.683Z] Dload Upload Total Spent Left Speed [2024-07-02T17:32:02.683Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 30670 0 --:--:-- --:--:-- --:--:-- 31235 [2024-07-02T17:32:04.597Z] Removing intermediate container b9436ca92ec6 [2024-07-02T17:32:04.597Z] ---> b2eb242cd3d6 [2024-07-02T17:32:04.597Z] Step 13/37 : RUN ${MAKE} [2024-07-02T17:32:04.857Z] ---> Running in 53e1b5930172 [2024-07-02T17:32:06.239Z] 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.19" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2024-07-02T17:32:10.271Z] 00f215d4a9da: Pull complete [2024-07-02T17:32:12.219Z] d496ad576159: Pull complete [2024-07-02T17:32:12.219Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-02T17:32:12.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-02T17:32:12.219Z] ---> f246e2811388 [2024-07-02T17:32:12.219Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-02T17:32:12.806Z] ---> Running in 19a85b5bd8ef [2024-07-02T17:32:13.388Z] Removing intermediate container 19a85b5bd8ef [2024-07-02T17:32:13.388Z] ---> 9454a1ba5a68 [2024-07-02T17:32:13.388Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T17:32:13.388Z] ---> Running in e67dbdadd86b [2024-07-02T17:32:13.660Z] Removing intermediate container e67dbdadd86b [2024-07-02T17:32:13.660Z] ---> 176226dbffbc [2024-07-02T17:32:13.660Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-07-02T17:32:13.660Z] ---> Running in 653bd040fcdf [2024-07-02T17:32:13.930Z] Removing intermediate container 653bd040fcdf [2024-07-02T17:32:13.930Z] ---> a9f1a351012f [2024-07-02T17:32:13.930Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-07-02T17:32:13.930Z] ---> Running in d43bae773966 [2024-07-02T17:32:14.204Z] Removing intermediate container d43bae773966 [2024-07-02T17:32:14.204Z] ---> 8d12506ec4dc [2024-07-02T17:32:14.204Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T17:32:14.473Z] ---> Running in 46d757b54a9d [2024-07-02T17:32:15.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T17:32:16.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T17:32:16.607Z] (1/13) Installing libintl (0.21.1-r7) [2024-07-02T17:32:16.607Z] (2/13) Installing eudev-libs (3.2.11-r8) [2024-07-02T17:32:16.607Z] (3/13) Installing libjpeg-turbo (2.1.5.1-r3) [2024-07-02T17:32:16.874Z] (4/13) Installing v4l-utils-libs (1.24.1-r0) [2024-07-02T17:32:16.874Z] (5/13) Installing v4l-utils (1.24.1-r0) [2024-07-02T17:32:17.457Z] (6/13) Installing libdvbv5 (1.24.1-r0) [2024-07-02T17:32:17.457Z] (7/13) Installing udev-init-scripts (35-r1) [2024-07-02T17:32:17.457Z] (8/13) Installing libblkid (2.38.1-r8) [2024-07-02T17:32:17.457Z] (9/13) Installing xz-libs (5.4.3-r0) [2024-07-02T17:32:17.457Z] (10/13) Installing kmod-libs (30-r3) [2024-07-02T17:32:17.457Z] (11/13) Installing eudev (3.2.11-r8) [2024-07-02T17:32:17.457Z] (12/13) Installing eudev-dev (3.2.11-r8) [2024-07-02T17:32:17.457Z] (13/13) Installing v4l-utils-dev (1.24.1-r0) [2024-07-02T17:32:17.729Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T17:32:17.729Z] Executing eudev-3.2.11-r8.trigger [2024-07-02T17:32:17.729Z] OK: 273 MiB in 65 packages [2024-07-02T17:32:19.144Z] Removing intermediate container 46d757b54a9d [2024-07-02T17:32:19.144Z] ---> 50257dda5e34 [2024-07-02T17:32:19.144Z] Step 8/13 : WORKDIR /device-usb-camera [2024-07-02T17:32:19.144Z] ---> Running in b4c7aead82ea [2024-07-02T17:32:20.135Z] Removing intermediate container b4c7aead82ea [2024-07-02T17:32:20.135Z] ---> 26563d29db03 [2024-07-02T17:32:20.135Z] Step 9/13 : COPY go.mod vendor* ./ [2024-07-02T17:32:20.728Z] ---> c80dd299d9fc [2024-07-02T17:32:20.728Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T17:32:20.728Z] ---> Running in fe8e4509eba0 [2024-07-02T17:32:53.200Z] Removing intermediate container 53e1b5930172 [2024-07-02T17:32:53.200Z] ---> cda0585e2f91 [2024-07-02T17:32:53.200Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-07-02T17:32:53.200Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-07-02T17:32:53.200Z] 8411072a22a5: Pulling fs layer [2024-07-02T17:32:53.200Z] 8411072a22a5: Verifying Checksum [2024-07-02T17:32:53.200Z] 8411072a22a5: Download complete [2024-07-02T17:32:53.200Z] 8411072a22a5: Pull complete [2024-07-02T17:32:53.200Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-07-02T17:32:53.200Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-07-02T17:32:53.200Z] ---> 1ac78cb06e13 [2024-07-02T17:32:53.200Z] Step 15/37 : FROM alpine:3.18 [2024-07-02T17:32:53.200Z] 3.18: Pulling from library/alpine [2024-07-02T17:32:53.200Z] 73baa7ef167e: Pulling fs layer [2024-07-02T17:32:53.200Z] 73baa7ef167e: Verifying Checksum [2024-07-02T17:32:53.200Z] 73baa7ef167e: Download complete [2024-07-02T17:32:53.200Z] 73baa7ef167e: Pull complete [2024-07-02T17:32:53.200Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T17:32:53.200Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T17:32:53.200Z] ---> 8fd7cac70a4a [2024-07-02T17:32:53.200Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-02T17:32:53.200Z] ---> Running in 3f5cb2449924 [2024-07-02T17:32:53.200Z] Removing intermediate container 3f5cb2449924 [2024-07-02T17:32:53.200Z] ---> cf00b5779fb4 [2024-07-02T17:32:53.200Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-07-02T17:32:53.200Z] ---> Running in 9aa04ffaf7c3 [2024-07-02T17:32:53.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T17:32:53.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T17:32:53.200Z] (1/107) Installing dumb-init (1.2.5-r2) [2024-07-02T17:32:53.200Z] (2/107) Installing sdl2 (2.26.5-r0) [2024-07-02T17:32:53.200Z] (3/107) Installing svt-av1-libs (1.6.0-r0) [2024-07-02T17:32:53.200Z] (4/107) Installing aom-libs (3.6.1-r0) [2024-07-02T17:32:53.200Z] (5/107) Installing libxau (1.0.11-r2) [2024-07-02T17:32:53.200Z] (6/107) Installing libmd (1.0.4-r2) [2024-07-02T17:32:53.200Z] (7/107) Installing libbsd (0.11.7-r1) [2024-07-02T17:32:53.200Z] (8/107) Installing libxdmcp (1.1.4-r2) [2024-07-02T17:32:53.200Z] (9/107) Installing libxcb (1.15-r1) [2024-07-02T17:32:53.200Z] (10/107) Installing libx11 (1.8.7-r0) [2024-07-02T17:32:53.200Z] (11/107) Installing hwdata-pci (0.370-r0) [2024-07-02T17:32:53.200Z] (12/107) Installing libpciaccess (0.17-r2) [2024-07-02T17:32:53.200Z] (13/107) Installing libdrm (2.4.115-r4) [2024-07-02T17:32:53.200Z] (14/107) Installing libxext (1.3.5-r2) [2024-07-02T17:32:53.200Z] (15/107) Installing libxfixes (6.0.1-r2) [2024-07-02T17:32:53.200Z] (16/107) Installing libffi (3.4.4-r2) [2024-07-02T17:32:53.200Z] (17/107) Installing wayland-libs-client (1.22.0-r2) [2024-07-02T17:32:53.200Z] (18/107) Installing libva (2.18.0-r1) [2024-07-02T17:32:53.200Z] (19/107) Installing libvdpau (1.5-r1) [2024-07-02T17:32:53.200Z] (20/107) Installing libgcc (12.2.1_git20220924-r10) [2024-07-02T17:32:53.200Z] (21/107) Installing libstdc++ (12.2.1_git20220924-r10) [2024-07-02T17:32:53.201Z] (22/107) Installing onevpl-libs (2023.2.1-r0) [2024-07-02T17:32:53.201Z] (23/107) Installing ffmpeg-libavutil (6.0.1-r0) [2024-07-02T17:32:53.201Z] (24/107) Installing libdav1d (1.2.1-r0) [2024-07-02T17:32:53.201Z] (25/107) Installing brotli-libs (1.0.9-r14) [2024-07-02T17:32:53.201Z] (26/107) Installing libhwy (1.0.4-r1) [2024-07-02T17:32:53.201Z] (27/107) Installing lcms2 (2.15-r2) [2024-07-02T17:32:53.201Z] (28/107) Installing libjxl (0.8.2-r0) [2024-07-02T17:32:53.201Z] (29/107) Installing lame-libs (3.100-r5) [2024-07-02T17:32:53.201Z] (30/107) Installing opus (1.4-r0) [2024-07-02T17:32:53.201Z] (31/107) Installing libgomp (12.2.1_git20220924-r10) [2024-07-02T17:32:53.201Z] (32/107) Installing soxr (0.1.3-r5) [2024-07-02T17:32:53.201Z] (33/107) Installing ffmpeg-libswresample (6.0.1-r0) [2024-07-02T17:32:53.201Z] (34/107) Installing libogg (1.3.5-r4) [2024-07-02T17:32:53.201Z] (35/107) Installing libtheora (1.1.1-r17) [2024-07-02T17:32:53.201Z] (36/107) Installing libvorbis (1.3.7-r1) [2024-07-02T17:32:53.201Z] (37/107) Installing libvpx (1.13.0-r2) [2024-07-02T17:32:53.201Z] (38/107) Installing libwebp (1.3.2-r0) [2024-07-02T17:32:53.201Z] (39/107) Installing x264-libs (0.164_git20220602-r1) [2024-07-02T17:32:53.201Z] (40/107) Installing numactl (2.0.16-r4) [2024-07-02T17:32:53.201Z] (41/107) Installing x265-libs (3.5-r4) [2024-07-02T17:32:53.201Z] (42/107) Installing xvidcore (1.3.7-r1) [2024-07-02T17:32:53.201Z] (43/107) Installing ffmpeg-libavcodec (6.0.1-r0) [2024-07-02T17:32:53.201Z] (44/107) Installing alsa-lib (1.2.9-r1) [2024-07-02T17:32:53.201Z] (45/107) Installing libexpat (2.6.2-r0) [2024-07-02T17:32:53.201Z] (46/107) Installing libbz2 (1.0.8-r5) [2024-07-02T17:32:53.201Z] (47/107) Installing libpng (1.6.39-r3) [2024-07-02T17:32:53.201Z] (48/107) Installing freetype (2.13.0-r5) [2024-07-02T17:32:53.201Z] (49/107) Installing fontconfig (2.14.2-r3) [2024-07-02T17:32:53.201Z] (50/107) Installing fribidi (1.0.13-r0) [2024-07-02T17:32:53.201Z] (51/107) Installing libintl (0.21.1-r7) [2024-07-02T17:32:53.201Z] (52/107) Installing libblkid (2.38.1-r8) [2024-07-02T17:32:53.201Z] (53/107) Installing libmount (2.38.1-r8) [2024-07-02T17:32:53.201Z] (54/107) Installing pcre2 (10.42-r1) [2024-07-02T17:32:53.201Z] (55/107) Installing glib (2.76.6-r0) [2024-07-02T17:32:53.201Z] (56/107) Installing graphite2 (1.3.14-r5) [2024-07-02T17:32:53.201Z] (57/107) Installing harfbuzz (7.3.0-r0) [2024-07-02T17:32:53.201Z] (58/107) Installing libunibreak (5.1-r0) [2024-07-02T17:32:53.201Z] (59/107) Installing libass (0.17.1-r0) [2024-07-02T17:32:53.201Z] (60/107) Installing libbluray (1.3.4-r0) [2024-07-02T17:32:53.201Z] (61/107) Installing gmp (6.2.1-r3) [2024-07-02T17:32:53.201Z] (62/107) Installing nettle (3.8.1-r2) [2024-07-02T17:32:53.201Z] (63/107) Installing libunistring (1.1-r1) [2024-07-02T17:32:53.201Z] (64/107) Installing libidn2 (2.3.4-r1) [2024-07-02T17:32:53.201Z] (65/107) Installing p11-kit (0.24.1-r2) [2024-07-02T17:32:53.201Z] (66/107) Installing libtasn1 (4.19.0-r1) [2024-07-02T17:32:53.201Z] (67/107) Installing gnutls (3.8.4-r0) [2024-07-02T17:32:53.201Z] (68/107) Installing mpg123-libs (1.31.3-r1) [2024-07-02T17:32:53.201Z] (69/107) Installing libopenmpt (0.7.2-r0) [2024-07-02T17:32:53.201Z] (70/107) Installing cjson (1.7.17-r0) [2024-07-02T17:32:53.201Z] (71/107) Installing mbedtls (2.28.8-r0) [2024-07-02T17:32:53.201Z] (72/107) Installing librist (0.2.7-r0) [2024-07-02T17:32:53.201Z] (73/107) Installing libsrt (1.5.2-r0) [2024-07-02T17:32:53.201Z] (74/107) Installing libssh (0.10.5-r0) [2024-07-02T17:32:53.201Z] (75/107) Installing xz-libs (5.4.3-r0) [2024-07-02T17:32:53.201Z] (76/107) Installing libxml2 (2.11.8-r0) [2024-07-02T17:32:53.201Z] (77/107) Installing libsodium (1.0.18-r3) [2024-07-02T17:32:53.201Z] (78/107) Installing libzmq (4.3.4-r4) [2024-07-02T17:32:53.201Z] (79/107) Installing ffmpeg-libavformat (6.0.1-r0) [2024-07-02T17:32:53.201Z] (80/107) Installing glslang-libs (1.3.243.0-r1) [2024-07-02T17:32:53.201Z] (81/107) Installing spirv-tools (1.3.243.0-r1) [2024-07-02T17:32:53.201Z] (82/107) Installing shaderc (2023.3-r1) [2024-07-02T17:32:53.201Z] (83/107) Installing vulkan-loader (1.3.243.0-r1) [2024-07-02T17:32:53.201Z] (84/107) Installing libplacebo (5.264.1-r1) [2024-07-02T17:32:53.201Z] (85/107) Installing ffmpeg-libpostproc (6.0.1-r0) [2024-07-02T17:32:53.201Z] (86/107) Installing ffmpeg-libswscale (6.0.1-r0) [2024-07-02T17:32:53.201Z] (87/107) Installing vidstab (1.1.1-r0) [2024-07-02T17:32:53.201Z] (88/107) Installing zimg (3.0.5-r0) [2024-07-02T17:32:53.201Z] (89/107) Installing ffmpeg-libavfilter (6.0.1-r0) [2024-07-02T17:32:53.201Z] (90/107) Installing libasyncns (0.8-r1) [2024-07-02T17:32:53.201Z] (91/107) Installing dbus-libs (1.14.8-r0) [2024-07-02T17:32:53.201Z] (92/107) Installing libltdl (2.4.7-r2) [2024-07-02T17:32:53.201Z] (93/107) Installing orc (0.4.34-r0) [2024-07-02T17:32:53.201Z] (94/107) Installing flac-libs (1.4.3-r0) [2024-07-02T17:32:53.201Z] (95/107) Installing libsndfile (1.2.0-r2) [2024-07-02T17:32:53.201Z] (96/107) Installing speexdsp (1.2.1-r1) [2024-07-02T17:32:53.201Z] (97/107) Installing tdb-libs (1.4.8-r1) [2024-07-02T17:32:53.201Z] (98/107) Installing libpulse (16.1-r10) [2024-07-02T17:32:53.201Z] (99/107) Installing libjpeg-turbo (2.1.5.1-r3) [2024-07-02T17:32:53.201Z] (100/107) Installing v4l-utils-libs (1.24.1-r0) [2024-07-02T17:32:53.201Z] (101/107) Installing ffmpeg-libavdevice (6.0.1-r0) [2024-07-02T17:32:53.201Z] (102/107) Installing ffmpeg (6.0.1-r0) [2024-07-02T17:32:53.201Z] (103/107) Installing udev-init-scripts (35-r1) [2024-07-02T17:32:53.201Z] (104/107) Installing eudev-libs (3.2.11-r8) [2024-07-02T17:32:53.201Z] (105/107) Installing zstd-libs (1.5.5-r4) [2024-07-02T17:32:53.201Z] (106/107) Installing kmod-libs (30-r3) [2024-07-02T17:32:53.201Z] (107/107) Installing eudev (3.2.11-r8) [2024-07-02T17:32:53.201Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T17:32:53.201Z] Executing glib-2.76.6-r0.trigger [2024-07-02T17:32:53.201Z] Executing eudev-3.2.11-r8.trigger [2024-07-02T17:32:53.201Z] OK: 131 MiB in 122 packages [2024-07-02T17:32:57.423Z] Removing intermediate container 9aa04ffaf7c3 [2024-07-02T17:32:57.423Z] ---> 9335d40adfd3 [2024-07-02T17:32:57.423Z] Step 18/37 : RUN apk --no-cache upgrade [2024-07-02T17:32:57.423Z] ---> Running in a7358f316937 [2024-07-02T17:32:57.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T17:32:57.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T17:32:57.686Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T17:32:57.686Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T17:32:57.686Z] OK: 131 MiB in 122 packages [2024-07-02T17:32:58.256Z] Removing intermediate container a7358f316937 [2024-07-02T17:32:58.256Z] ---> f547a45fcfb2 [2024-07-02T17:32:58.256Z] Step 19/37 : WORKDIR / [2024-07-02T17:32:58.256Z] ---> Running in eb21319bcb9b [2024-07-02T17:32:58.256Z] Removing intermediate container eb21319bcb9b [2024-07-02T17:32:58.257Z] ---> dffbd0cd6c6c [2024-07-02T17:32:58.257Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-07-02T17:32:59.645Z] ---> 8773ea2ed33b [2024-07-02T17:32:59.645Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-07-02T17:32:59.906Z] ---> 3242fbcc7bb4 [2024-07-02T17:32:59.906Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-07-02T17:32:59.906Z] ---> 38431fd65239 [2024-07-02T17:32:59.906Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-07-02T17:33:00.173Z] ---> 7b14f1739bb9 [2024-07-02T17:33:00.173Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-07-02T17:33:00.173Z] ---> c6509ac2ac20 [2024-07-02T17:33:00.173Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-07-02T17:33:00.433Z] ---> 804d19df90f5 [2024-07-02T17:33:00.433Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-07-02T17:33:01.541Z] ---> cd620d69ff35 [2024-07-02T17:33:01.541Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-07-02T17:33:01.541Z] ---> Running in b20495103500 [2024-07-02T17:33:02.109Z] Removing intermediate container b20495103500 [2024-07-02T17:33:02.109Z] ---> 7a98646e5f4f [2024-07-02T17:33:02.109Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-07-02T17:33:02.109Z] ---> Running in 609b1bf6c0f9 [2024-07-02T17:33:03.489Z] Removing intermediate container 609b1bf6c0f9 [2024-07-02T17:33:03.489Z] ---> cb7002abdc24 [2024-07-02T17:33:03.489Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-07-02T17:33:03.489Z] ---> Running in 156574fb2805 [2024-07-02T17:33:04.056Z] Removing intermediate container 156574fb2805 [2024-07-02T17:33:04.056Z] ---> 62b536317405 [2024-07-02T17:33:04.056Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-07-02T17:33:04.056Z] ---> Running in 78a62d9c7f7a [2024-07-02T17:33:04.626Z] Removing intermediate container 78a62d9c7f7a [2024-07-02T17:33:04.626Z] ---> 7c8338b02b5e [2024-07-02T17:33:04.626Z] Step 31/37 : EXPOSE 59983 [2024-07-02T17:33:04.626Z] ---> Running in 0a1d65d3f574 [2024-07-02T17:33:04.626Z] Removing intermediate container 0a1d65d3f574 [2024-07-02T17:33:04.626Z] ---> 36f76ac9c28e [2024-07-02T17:33:04.626Z] Step 32/37 : EXPOSE 8554 [2024-07-02T17:33:04.626Z] ---> Running in 722a4a907ea6 [2024-07-02T17:33:04.885Z] Removing intermediate container 722a4a907ea6 [2024-07-02T17:33:04.885Z] ---> 2192fe34c16a [2024-07-02T17:33:04.885Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-07-02T17:33:04.885Z] ---> Running in cecb8b197bef [2024-07-02T17:33:05.143Z] Removing intermediate container cecb8b197bef [2024-07-02T17:33:05.143Z] ---> beb4af696f6d [2024-07-02T17:33:05.143Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-07-02T17:33:05.143Z] ---> Running in 1b4d0d275427 [2024-07-02T17:33:05.143Z] Removing intermediate container 1b4d0d275427 [2024-07-02T17:33:05.143Z] ---> 8cb09f160ef7 [2024-07-02T17:33:05.143Z] Step 35/37 : LABEL arch=amd64 [2024-07-02T17:33:05.402Z] ---> Running in cb8cb973b27a [2024-07-02T17:33:05.402Z] Removing intermediate container cb8cb973b27a [2024-07-02T17:33:05.402Z] ---> de7bd13e77b8 [2024-07-02T17:33:05.402Z] Step 36/37 : LABEL git_sha=7c2a5efa92860029cd8e5acc233c360e99f07ab8 [2024-07-02T17:33:05.402Z] ---> Running in 40e60824988f [2024-07-02T17:33:05.402Z] Removing intermediate container 40e60824988f [2024-07-02T17:33:05.402Z] ---> f28698ae3e8e [2024-07-02T17:33:05.402Z] Step 37/37 : LABEL version=0.0.0 [2024-07-02T17:33:05.402Z] ---> Running in baf8d08e561e [2024-07-02T17:33:05.662Z] Removing intermediate container baf8d08e561e [2024-07-02T17:33:05.662Z] ---> 903188abd5c5 [2024-07-02T17:33:05.662Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T17:33:05.662Z] Successfully built 903188abd5c5 [2024-07-02T17:33:05.662Z] 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-07-02T17:33:06.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T17:33:06.747Z] [2024-07-02T17:33:06.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:33:07.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T17:33:07.155Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-02T17:33:07.155Z] 5eb5b503b376: Pulling fs layer [2024-07-02T17:33:07.155Z] 5c69ac0246d0: Pulling fs layer [2024-07-02T17:33:07.155Z] ec43610c2a17: Pulling fs layer [2024-07-02T17:33:07.155Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-02T17:33:07.155Z] 33b1e0a273af: Pulling fs layer [2024-07-02T17:33:07.155Z] 3a2ae6a8a46f: Waiting [2024-07-02T17:33:07.155Z] 5d3b04190fa2: Pulling fs layer [2024-07-02T17:33:07.155Z] 2f39f015ded8: Pulling fs layer [2024-07-02T17:33:07.155Z] 5d3b04190fa2: Waiting [2024-07-02T17:33:07.155Z] 33b1e0a273af: Waiting [2024-07-02T17:33:07.155Z] 5c69ac0246d0: Download complete [2024-07-02T17:33:07.155Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-02T17:33:07.155Z] 3a2ae6a8a46f: Download complete [2024-07-02T17:33:07.155Z] 33b1e0a273af: Verifying Checksum [2024-07-02T17:33:07.155Z] 33b1e0a273af: Download complete [2024-07-02T17:33:07.155Z] 5d3b04190fa2: Verifying Checksum [2024-07-02T17:33:07.155Z] 5d3b04190fa2: Download complete [2024-07-02T17:33:07.155Z] ec43610c2a17: Verifying Checksum [2024-07-02T17:33:07.155Z] ec43610c2a17: Download complete [2024-07-02T17:33:07.444Z] 5eb5b503b376: Verifying Checksum [2024-07-02T17:33:07.444Z] 5eb5b503b376: Download complete [2024-07-02T17:33:08.010Z] 2f39f015ded8: Verifying Checksum [2024-07-02T17:33:08.010Z] 2f39f015ded8: Download complete [2024-07-02T17:33:08.945Z] 5eb5b503b376: Pull complete [2024-07-02T17:33:08.945Z] 5c69ac0246d0: Pull complete [2024-07-02T17:33:09.512Z] ec43610c2a17: Pull complete [2024-07-02T17:33:09.770Z] 3a2ae6a8a46f: Pull complete [2024-07-02T17:33:10.338Z] 33b1e0a273af: Pull complete [2024-07-02T17:33:10.338Z] 5d3b04190fa2: Pull complete [2024-07-02T17:33:20.325Z] 2f39f015ded8: Pull complete [2024-07-02T17:33:24.522Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-02T17:33:24.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T17:33:24.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:33:24.801Z] prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container [2024-07-02T17:33:24.829Z] $ 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-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@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-07-02T17:33:25.662Z] $ docker top 147bfcc0d0e1d5f3897a79c65d9d18b069e8467821ccb3d1c8690ebb0ecfdf58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:33:26.179Z] ---> job-cost.sh [2024-07-02T17:33:26.179Z] lf-activate-venv: SKIPPING [2024-07-02T17:33:26.179Z] INFO: No Stack... [2024-07-02T17:33:26.437Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T17:33:26.697Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T17:33:27.025Z] + cat /w/workspace/foundry_device-usb-camera_PR-335/archives/cost.csv [2024-07-02T17:33:27.025Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T17:33:27.076Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [2024-07-02T17:33:27.083Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] did not exist. Created. [2024-07-02T17:33:27.096Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T17:33:27.505Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-02T17:33:27.565Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T17:33:27.610Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T17:33:27.704Z] $ docker stop --time=1 147bfcc0d0e1d5f3897a79c65d9d18b069e8467821ccb3d1c8690ebb0ecfdf58 [2024-07-02T17:33:29.114Z] $ docker rm -f --volumes 147bfcc0d0e1d5f3897a79c65d9d18b069e8467821ccb3d1c8690ebb0ecfdf58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-02T17:34:12.378Z] Removing intermediate container fe8e4509eba0 [2024-07-02T17:34:12.378Z] ---> 5db117922f82 [2024-07-02T17:34:12.378Z] Step 11/13 : COPY . . [2024-07-02T17:34:12.378Z] ---> 55919d8b6d57 [2024-07-02T17:34:12.378Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-07-02T17:34:12.378Z] ---> Running in 0a74dd35eed0 [2024-07-02T17:34:12.378Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2024-07-02T17:34:12.378Z] Dload Upload Total Spent Left Speed [2024-07-02T17:34:12.378Z] 0 0  0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 8272  0 --:--:-- --:--:-- --:--:-- 8362 [2024-07-02T17:34:12.378Z] Removing intermediate container 0a74dd35eed0 [2024-07-02T17:34:12.378Z] ---> d4bf4a03f9bf [2024-07-02T17:34:12.378Z] Step 13/13 : RUN ${MAKE} [2024-07-02T17:34:12.378Z] ---> Running in 31be5ec48df5 [2024-07-02T17:34:12.378Z] noop [2024-07-02T17:34:12.378Z] Removing intermediate container 31be5ec48df5 [2024-07-02T17:34:12.378Z] ---> adf206c74743 [2024-07-02T17:34:12.378Z] Successfully built adf206c74743 [2024-07-02T17:34:12.378Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:34:12.884Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T17:34:12.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:34:13.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-4831 does not seem to be running inside a container [2024-07-02T17:34:13.254Z] $ 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-07-02T17:34:14.515Z] $ docker top 3516820d34b1fc868c4fcfb1f580588aff8cedce43afef118085243ec81def3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T17:34:15.415Z] + go version [2024-07-02T17:34:15.416Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-02T17:34:15.449Z] $ docker stop --time=1 3516820d34b1fc868c4fcfb1f580588aff8cedce43afef118085243ec81def3d [2024-07-02T17:34:17.062Z] $ docker rm -f --volumes 3516820d34b1fc868c4fcfb1f580588aff8cedce43afef118085243ec81def3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:34:17.998Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T17:34:17.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:34:18.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-4831 does not seem to be running inside a container [2024-07-02T17:34:18.330Z] $ 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-07-02T17:34:19.483Z] $ docker top e83a4a1824b39e7a5cc25b93d2c594cde9035d2fd1b818157f61377e0c0565e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T17:34:20.047Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-07-02T17:34:20.776Z] + make test [2024-07-02T17:34:20.777Z] go test ./... -coverprofile=coverage.out ./... [2024-07-02T17:34:26.126Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-07-02T17:37:48.049Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2024-07-02T17:37:48.049Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.061s coverage: 4.4% of statements [2024-07-02T17:37:48.314Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-02T17:37:48.314Z] go vet ./... [2024-07-02T17:38:35.133Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T17:38:35.133Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T17:38:35.133Z] ./bin/test-attribution-txt.sh [2024-07-02T17:38:35.133Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for gopkg.in/square/go-jose.v2 is missing from Attribution.txt, please add [2024-07-02T17:38:35.133Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T17:38:35.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T17:38:35.213Z] $ docker stop --time=1 e83a4a1824b39e7a5cc25b93d2c594cde9035d2fd1b818157f61377e0c0565e7 [2024-07-02T17:38:37.151Z] $ docker rm -f --volumes e83a4a1824b39e7a5cc25b93d2c594cde9035d2fd1b818157f61377e0c0565e7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T17:38:38.788Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T17:38:38.832Z] Warning: overwriting stash ‘coverage-report’ [2024-07-02T17:38:39.300Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T17:38:39.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T17:38:40.271Z] + ls -al . [2024-07-02T17:38:40.271Z] total 288 [2024-07-02T17:38:40.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 17:34 . [2024-07-02T17:38:40.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 17:31 .. [2024-07-02T17:38:40.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 17:31 .git [2024-07-02T17:38:40.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:31 .github [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 379 Jul 2 17:31 .gitignore [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 45 Jul 2 17:31 .golangci.yml [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 2 17:31 .hadolint.yml [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 10870 Jul 2 17:31 Attribution.txt [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 16561 Jul 2 17:31 CHANGELOG.md [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jul 2 17:31 Dockerfile [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 2 17:31 GOVERNANCE.md [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 2 17:31 Jenkinsfile [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 2 17:31 LICENSE [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 2611 Jul 2 17:31 Makefile [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 17:31 OWNERS.md [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jul 2 17:31 README.md [2024-07-02T17:38:40.271Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 17:29 VERSION [2024-07-02T17:38:40.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:31 bin [2024-07-02T17:38:40.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:31 cmd [2024-07-02T17:38:40.271Z] -rw-r--r-- 1 jenkins jenkins 54703 Jul 2 17:37 coverage.out [2024-07-02T17:38:40.271Z] -rwxrwxr-x 1 jenkins jenkins 84 Jul 2 17:31 docker-entrypoint.sh [2024-07-02T17:38:40.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 17:31 docs [2024-07-02T17:38:40.272Z] -rw-rw-r-- 1 jenkins jenkins 7266 Jul 2 17:31 go.mod [2024-07-02T17:38:40.272Z] -rw-rw-r-- 1 jenkins jenkins 102297 Jul 2 17:31 go.sum [2024-07-02T17:38:40.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 17:31 internal [2024-07-02T17:38:40.272Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 2 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:38:40.716Z] + 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=7c2a5efa92860029cd8e5acc233c360e99f07ab8 --label arch=arm64 --label version=0.0.0 . [2024-07-02T17:38:41.299Z] Sending build context to Docker daemon 10.53MB [2024-07-02T17:38:41.299Z] Step 1/37 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T17:38:41.299Z] Step 2/37 : FROM ${BASE} AS builder [2024-07-02T17:38:41.299Z] ---> adf206c74743 [2024-07-02T17:38:41.299Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-07-02T17:38:41.299Z] ---> Running in 8d1452b98c3c [2024-07-02T17:38:41.567Z] Removing intermediate container 8d1452b98c3c [2024-07-02T17:38:41.567Z] ---> 23d7f83a7f37 [2024-07-02T17:38:41.567Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T17:38:41.832Z] ---> Running in c83f985c9775 [2024-07-02T17:38:42.102Z] Removing intermediate container c83f985c9775 [2024-07-02T17:38:42.102Z] ---> f356fd1ddfd9 [2024-07-02T17:38:42.102Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-07-02T17:38:42.102Z] ---> Running in 3a9d90063dc0 [2024-07-02T17:38:42.368Z] Removing intermediate container 3a9d90063dc0 [2024-07-02T17:38:42.368Z] ---> ac4497b1edab [2024-07-02T17:38:42.368Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-07-02T17:38:42.368Z] ---> Running in e52a827da9dd [2024-07-02T17:38:42.950Z] Removing intermediate container e52a827da9dd [2024-07-02T17:38:42.950Z] ---> 38671c84324e [2024-07-02T17:38:42.950Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T17:38:42.950Z] ---> Running in 5a0d419e30f4 [2024-07-02T17:38:43.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T17:38:44.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T17:38:45.139Z] OK: 273 MiB in 65 packages [2024-07-02T17:38:46.104Z] Removing intermediate container 5a0d419e30f4 [2024-07-02T17:38:46.104Z] ---> 2218b9c1c983 [2024-07-02T17:38:46.104Z] Step 8/37 : WORKDIR /device-usb-camera [2024-07-02T17:38:46.104Z] ---> Running in 23c37a3d923c [2024-07-02T17:38:46.372Z] Removing intermediate container 23c37a3d923c [2024-07-02T17:38:46.372Z] ---> 41863829942f [2024-07-02T17:38:46.372Z] Step 9/37 : COPY go.mod vendor* ./ [2024-07-02T17:38:46.641Z] ---> 6e193d5ba5b2 [2024-07-02T17:38:46.641Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T17:38:46.908Z] ---> Running in 9f7d6ffc6c91 [2024-07-02T17:38:49.486Z] Removing intermediate container 9f7d6ffc6c91 [2024-07-02T17:38:49.486Z] ---> 68a473696ba7 [2024-07-02T17:38:49.486Z] Step 11/37 : COPY . . [2024-07-02T17:38:50.887Z] ---> 042698b3dc2d [2024-07-02T17:38:50.887Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-07-02T17:38:50.887Z] ---> Running in 00e3dde7461a [2024-07-02T17:38:51.843Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T17:38:51.843Z] Dload Upload Total Spent Left Speed [2024-07-02T17:38:52.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0  0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5113 0 --:--:-- --:--:-- --:--:-- 5205 [2024-07-02T17:38:52.688Z] Removing intermediate container 00e3dde7461a [2024-07-02T17:38:52.688Z] ---> 5da00363e975 [2024-07-02T17:38:52.688Z] Step 13/37 : RUN ${MAKE} [2024-07-02T17:38:52.688Z] ---> Running in c4df196d0895 [2024-07-02T17:38:53.665Z] 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.19" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2024-07-02T17:42:30.439Z] Removing intermediate container c4df196d0895 [2024-07-02T17:42:30.439Z] ---> 09d08b2a1052 [2024-07-02T17:42:30.439Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-07-02T17:42:30.439Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-07-02T17:42:30.439Z] da4d7e05a7aa: Pulling fs layer [2024-07-02T17:42:30.439Z] da4d7e05a7aa: Verifying Checksum [2024-07-02T17:42:30.439Z] da4d7e05a7aa: Download complete [2024-07-02T17:42:31.397Z] da4d7e05a7aa: Pull complete [2024-07-02T17:42:31.397Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-07-02T17:42:31.397Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-07-02T17:42:31.397Z] ---> 62c65ed7ef0d [2024-07-02T17:42:31.397Z] Step 15/37 : FROM alpine:3.18 [2024-07-02T17:42:31.977Z] 3.18: Pulling from library/alpine [2024-07-02T17:42:31.977Z] 5c905c7ebe2f: Pulling fs layer [2024-07-02T17:42:32.244Z] 5c905c7ebe2f: Verifying Checksum [2024-07-02T17:42:32.244Z] 5c905c7ebe2f: Download complete [2024-07-02T17:42:32.826Z] 5c905c7ebe2f: Pull complete [2024-07-02T17:42:32.826Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T17:42:32.826Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T17:42:32.826Z] ---> dec292d02e07 [2024-07-02T17:42:32.827Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-02T17:42:33.102Z] ---> Running in f5622910a032 [2024-07-02T17:42:33.369Z] Removing intermediate container f5622910a032 [2024-07-02T17:42:33.369Z] ---> 01ec28ac1df8 [2024-07-02T17:42:33.369Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-07-02T17:42:33.369Z] ---> Running in 7c35723d8d43 [2024-07-02T17:42:34.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T17:42:34.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T17:42:35.872Z] (1/104) Installing dumb-init (1.2.5-r2) [2024-07-02T17:42:35.872Z] (2/104) Installing sdl2 (2.26.5-r0) [2024-07-02T17:42:35.872Z] (3/104) Installing svt-av1-libs (1.6.0-r0) [2024-07-02T17:42:36.140Z] (4/104) Installing aom-libs (3.6.1-r0) [2024-07-02T17:42:36.406Z] (5/104) Installing libxau (1.0.11-r2) [2024-07-02T17:42:36.406Z] (6/104) Installing libmd (1.0.4-r2) [2024-07-02T17:42:36.406Z] (7/104) Installing libbsd (0.11.7-r1) [2024-07-02T17:42:36.406Z] (8/104) Installing libxdmcp (1.1.4-r2) [2024-07-02T17:42:36.406Z] (9/104) Installing libxcb (1.15-r1) [2024-07-02T17:42:36.672Z] (10/104) Installing libx11 (1.8.7-r0) [2024-07-02T17:42:36.937Z] (11/104) Installing libdrm (2.4.115-r4) [2024-07-02T17:42:36.938Z] (12/104) Installing libxext (1.3.5-r2) [2024-07-02T17:42:36.938Z] (13/104) Installing libxfixes (6.0.1-r2) [2024-07-02T17:42:36.938Z] (14/104) Installing libffi (3.4.4-r2) [2024-07-02T17:42:36.938Z] (15/104) Installing wayland-libs-client (1.22.0-r2) [2024-07-02T17:42:36.938Z] (16/104) Installing libva (2.18.0-r1) [2024-07-02T17:42:37.204Z] (17/104) Installing libvdpau (1.5-r1) [2024-07-02T17:42:37.204Z] (18/104) Installing ffmpeg-libavutil (6.0.1-r0) [2024-07-02T17:42:37.204Z] (19/104) Installing libdav1d (1.2.1-r0) [2024-07-02T17:42:37.470Z] (20/104) Installing brotli-libs (1.0.9-r14) [2024-07-02T17:42:37.470Z] (21/104) Installing libgcc (12.2.1_git20220924-r10) [2024-07-02T17:42:37.470Z] (22/104) Installing libstdc++ (12.2.1_git20220924-r10) [2024-07-02T17:42:37.470Z] (23/104) Installing libhwy (1.0.4-r1) [2024-07-02T17:42:37.470Z] (24/104) Installing lcms2 (2.15-r2) [2024-07-02T17:42:37.470Z] (25/104) Installing libjxl (0.8.2-r0) [2024-07-02T17:42:37.470Z] (26/104) Installing lame-libs (3.100-r5) [2024-07-02T17:42:37.470Z] (27/104) Installing opus (1.4-r0) [2024-07-02T17:42:37.732Z] (28/104) Installing libgomp (12.2.1_git20220924-r10) [2024-07-02T17:42:37.732Z] (29/104) Installing soxr (0.1.3-r5) [2024-07-02T17:42:37.732Z] (30/104) Installing ffmpeg-libswresample (6.0.1-r0) [2024-07-02T17:42:37.732Z] (31/104) Installing libogg (1.3.5-r4) [2024-07-02T17:42:37.995Z] (32/104) Installing libtheora (1.1.1-r17) [2024-07-02T17:42:37.995Z] (33/104) Installing libvorbis (1.3.7-r1) [2024-07-02T17:42:37.995Z] (34/104) Installing libvpx (1.13.0-r2) [2024-07-02T17:42:38.260Z] (35/104) Installing libwebp (1.3.2-r0) [2024-07-02T17:42:38.260Z] (36/104) Installing x264-libs (0.164_git20220602-r1) [2024-07-02T17:42:38.525Z] (37/104) Installing numactl (2.0.16-r4) [2024-07-02T17:42:38.525Z] (38/104) Installing x265-libs (3.5-r4) [2024-07-02T17:42:38.788Z] (39/104) Installing xvidcore (1.3.7-r1) [2024-07-02T17:42:38.788Z] (40/104) Installing ffmpeg-libavcodec (6.0.1-r0) [2024-07-02T17:42:39.051Z] (41/104) Installing alsa-lib (1.2.9-r1) [2024-07-02T17:42:39.315Z] (42/104) Installing libexpat (2.6.2-r0) [2024-07-02T17:42:39.315Z] (43/104) Installing libbz2 (1.0.8-r5) [2024-07-02T17:42:39.315Z] (44/104) Installing libpng (1.6.39-r3) [2024-07-02T17:42:39.315Z] (45/104) Installing freetype (2.13.0-r5) [2024-07-02T17:42:39.579Z] (46/104) Installing fontconfig (2.14.2-r3) [2024-07-02T17:42:39.844Z] (47/104) Installing fribidi (1.0.13-r0) [2024-07-02T17:42:39.844Z] (48/104) Installing libintl (0.21.1-r7) [2024-07-02T17:42:39.844Z] (49/104) Installing libblkid (2.38.1-r8) [2024-07-02T17:42:39.844Z] (50/104) Installing libmount (2.38.1-r8) [2024-07-02T17:42:39.844Z] (51/104) Installing pcre2 (10.42-r1) [2024-07-02T17:42:40.107Z] (52/104) Installing glib (2.76.6-r0) [2024-07-02T17:42:40.375Z] (53/104) Installing graphite2 (1.3.14-r5) [2024-07-02T17:42:40.375Z] (54/104) Installing harfbuzz (7.3.0-r0) [2024-07-02T17:42:40.375Z] (55/104) Installing libunibreak (5.1-r0) [2024-07-02T17:42:40.638Z] (56/104) Installing libass (0.17.1-r0) [2024-07-02T17:42:40.638Z] (57/104) Installing libbluray (1.3.4-r0) [2024-07-02T17:42:40.638Z] (58/104) Installing gmp (6.2.1-r3) [2024-07-02T17:42:40.638Z] (59/104) Installing nettle (3.8.1-r2) [2024-07-02T17:42:40.908Z] (60/104) Installing libunistring (1.1-r1) [2024-07-02T17:42:40.908Z] (61/104) Installing libidn2 (2.3.4-r1) [2024-07-02T17:42:40.908Z] (62/104) Installing p11-kit (0.24.1-r2) [2024-07-02T17:42:40.908Z] (63/104) Installing libtasn1 (4.19.0-r1) [2024-07-02T17:42:40.908Z] (64/104) Installing gnutls (3.8.4-r0) [2024-07-02T17:42:41.174Z] (65/104) Installing mpg123-libs (1.31.3-r1) [2024-07-02T17:42:41.174Z] (66/104) Installing libopenmpt (0.7.2-r0) [2024-07-02T17:42:41.440Z] (67/104) Installing cjson (1.7.17-r0) [2024-07-02T17:42:41.440Z] (68/104) Installing mbedtls (2.28.8-r0) [2024-07-02T17:42:41.706Z] (69/104) Installing librist (0.2.7-r0) [2024-07-02T17:42:41.706Z] (70/104) Installing libsrt (1.5.2-r0) [2024-07-02T17:42:41.972Z] (71/104) Installing libssh (0.10.5-r0) [2024-07-02T17:42:41.972Z] (72/104) Installing xz-libs (5.4.3-r0) [2024-07-02T17:42:41.972Z] (73/104) Installing libxml2 (2.11.8-r0) [2024-07-02T17:42:41.972Z] (74/104) Installing libsodium (1.0.18-r3) [2024-07-02T17:42:41.972Z] (75/104) Installing libzmq (4.3.4-r4) [2024-07-02T17:42:42.246Z] (76/104) Installing ffmpeg-libavformat (6.0.1-r0) [2024-07-02T17:42:42.246Z] (77/104) Installing glslang-libs (1.3.243.0-r1) [2024-07-02T17:42:42.514Z] (78/104) Installing spirv-tools (1.3.243.0-r1) [2024-07-02T17:42:42.786Z] (79/104) Installing shaderc (2023.3-r1) [2024-07-02T17:42:42.786Z] (80/104) Installing vulkan-loader (1.3.243.0-r1) [2024-07-02T17:42:42.786Z] (81/104) Installing libplacebo (5.264.1-r1) [2024-07-02T17:42:43.054Z] (82/104) Installing ffmpeg-libpostproc (6.0.1-r0) [2024-07-02T17:42:43.054Z] (83/104) Installing ffmpeg-libswscale (6.0.1-r0) [2024-07-02T17:42:43.320Z] (84/104) Installing vidstab (1.1.1-r0) [2024-07-02T17:42:43.320Z] (85/104) Installing zimg (3.0.5-r0) [2024-07-02T17:42:43.320Z] (86/104) Installing ffmpeg-libavfilter (6.0.1-r0) [2024-07-02T17:42:43.588Z] (87/104) Installing libasyncns (0.8-r1) [2024-07-02T17:42:43.588Z] (88/104) Installing dbus-libs (1.14.8-r0) [2024-07-02T17:42:43.588Z] (89/104) Installing libltdl (2.4.7-r2) [2024-07-02T17:42:43.588Z] (90/104) Installing orc (0.4.34-r0) [2024-07-02T17:42:43.854Z] (91/104) Installing flac-libs (1.4.3-r0) [2024-07-02T17:42:43.854Z] (92/104) Installing libsndfile (1.2.0-r2) [2024-07-02T17:42:43.854Z] (93/104) Installing speexdsp (1.2.1-r1) [2024-07-02T17:42:44.119Z] (94/104) Installing tdb-libs (1.4.8-r1) [2024-07-02T17:42:44.387Z] (95/104) Installing libpulse (16.1-r10) [2024-07-02T17:42:44.654Z] (96/104) Installing libjpeg-turbo (2.1.5.1-r3) [2024-07-02T17:42:44.654Z] (97/104) Installing v4l-utils-libs (1.24.1-r0) [2024-07-02T17:42:44.654Z] (98/104) Installing ffmpeg-libavdevice (6.0.1-r0) [2024-07-02T17:42:44.654Z] (99/104) Installing ffmpeg (6.0.1-r0) [2024-07-02T17:42:44.654Z] (100/104) Installing udev-init-scripts (35-r1) [2024-07-02T17:42:44.654Z] (101/104) Installing eudev-libs (3.2.11-r8) [2024-07-02T17:42:44.924Z] (102/104) Installing zstd-libs (1.5.5-r4) [2024-07-02T17:42:44.924Z] (103/104) Installing kmod-libs (30-r3) [2024-07-02T17:42:44.924Z] (104/104) Installing eudev (3.2.11-r8) [2024-07-02T17:42:44.924Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T17:42:44.924Z] Executing glib-2.76.6-r0.trigger [2024-07-02T17:42:44.924Z] Executing eudev-3.2.11-r8.trigger [2024-07-02T17:42:44.924Z] OK: 110 MiB in 119 packages [2024-07-02T17:42:49.166Z] Removing intermediate container 7c35723d8d43 [2024-07-02T17:42:49.166Z] ---> 5e59e6eed7b9 [2024-07-02T17:42:49.166Z] Step 18/37 : RUN apk --no-cache upgrade [2024-07-02T17:42:49.166Z] ---> Running in 19fa2d579078 [2024-07-02T17:42:49.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T17:42:50.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T17:42:50.962Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T17:42:51.227Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T17:42:51.227Z] OK: 110 MiB in 119 packages [2024-07-02T17:42:52.184Z] Removing intermediate container 19fa2d579078 [2024-07-02T17:42:52.184Z] ---> bf75a957ee69 [2024-07-02T17:42:52.184Z] Step 19/37 : WORKDIR / [2024-07-02T17:42:52.184Z] ---> Running in fce534d72b1c [2024-07-02T17:42:52.449Z] Removing intermediate container fce534d72b1c [2024-07-02T17:42:52.449Z] ---> efa4b1aa8430 [2024-07-02T17:42:52.449Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-07-02T17:42:55.024Z] ---> 8d2a0550baae [2024-07-02T17:42:55.024Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-07-02T17:42:55.289Z] ---> 61be8aefb3ce [2024-07-02T17:42:55.289Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-07-02T17:42:55.872Z] ---> b40491344b11 [2024-07-02T17:42:55.872Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-07-02T17:42:56.138Z] ---> 2d3ddd6c1c43 [2024-07-02T17:42:56.138Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-07-02T17:42:56.721Z] ---> 5bd4f547e382 [2024-07-02T17:42:56.721Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-07-02T17:42:57.302Z] ---> 2f9491fdbf60 [2024-07-02T17:42:57.302Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-07-02T17:42:59.241Z] ---> 45b1ec529279 [2024-07-02T17:42:59.241Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-07-02T17:42:59.241Z] ---> Running in bde8ad1712cc [2024-07-02T17:43:00.644Z] Removing intermediate container bde8ad1712cc [2024-07-02T17:43:00.644Z] ---> c0e5d9b93fd7 [2024-07-02T17:43:00.644Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-07-02T17:43:00.644Z] ---> Running in 3b4bfbc15837 [2024-07-02T17:43:02.054Z] Removing intermediate container 3b4bfbc15837 [2024-07-02T17:43:02.054Z] ---> 502cd99525b7 [2024-07-02T17:43:02.054Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-07-02T17:43:02.334Z] ---> Running in fc504087c7fc [2024-07-02T17:43:03.757Z] Removing intermediate container fc504087c7fc [2024-07-02T17:43:03.757Z] ---> 26b14f5ea9a0 [2024-07-02T17:43:03.757Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-07-02T17:43:03.757Z] ---> Running in cd4d7a7f3d50 [2024-07-02T17:43:05.698Z] Removing intermediate container cd4d7a7f3d50 [2024-07-02T17:43:05.698Z] ---> 9740c6f42f5e [2024-07-02T17:43:05.698Z] Step 31/37 : EXPOSE 59983 [2024-07-02T17:43:05.698Z] ---> Running in 0d21856d26ea [2024-07-02T17:43:05.698Z] Removing intermediate container 0d21856d26ea [2024-07-02T17:43:05.698Z] ---> fee824957e37 [2024-07-02T17:43:05.698Z] Step 32/37 : EXPOSE 8554 [2024-07-02T17:43:05.965Z] ---> Running in 05cf74fc6619 [2024-07-02T17:43:06.234Z] Removing intermediate container 05cf74fc6619 [2024-07-02T17:43:06.234Z] ---> df0835d13f60 [2024-07-02T17:43:06.234Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-07-02T17:43:06.234Z] ---> Running in 22df6e8e12d6 [2024-07-02T17:43:06.499Z] Removing intermediate container 22df6e8e12d6 [2024-07-02T17:43:06.499Z] ---> b13fb0366796 [2024-07-02T17:43:06.499Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-07-02T17:43:06.499Z] ---> Running in b77e06f8af36 [2024-07-02T17:43:06.766Z] Removing intermediate container b77e06f8af36 [2024-07-02T17:43:06.766Z] ---> 18208264c2f9 [2024-07-02T17:43:06.766Z] Step 35/37 : LABEL arch=arm64 [2024-07-02T17:43:07.033Z] ---> Running in 701b72516902 [2024-07-02T17:43:07.299Z] Removing intermediate container 701b72516902 [2024-07-02T17:43:07.299Z] ---> c220ac9ffbf4 [2024-07-02T17:43:07.299Z] Step 36/37 : LABEL git_sha=7c2a5efa92860029cd8e5acc233c360e99f07ab8 [2024-07-02T17:43:07.299Z] ---> Running in f9c2d88a5b49 [2024-07-02T17:43:07.564Z] Removing intermediate container f9c2d88a5b49 [2024-07-02T17:43:07.564Z] ---> 8c6137f9b849 [2024-07-02T17:43:07.564Z] Step 37/37 : LABEL version=0.0.0 [2024-07-02T17:43:07.564Z] ---> Running in f825fc3e837d [2024-07-02T17:43:07.830Z] Removing intermediate container f825fc3e837d [2024-07-02T17:43:07.830Z] ---> 8d444ce27e27 [2024-07-02T17:43:07.830Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T17:43:08.096Z] Successfully built 8d444ce27e27 [2024-07-02T17:43:08.096Z] 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-07-02T17:43:09.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T17:43:09.054Z] [2024-07-02T17:43:09.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:43:09.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T17:43:09.839Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-02T17:43:09.839Z] 8998bd30e6a1: Pulling fs layer [2024-07-02T17:43:09.839Z] 04944245beec: Pulling fs layer [2024-07-02T17:43:09.839Z] 699f458cf7ca: Pulling fs layer [2024-07-02T17:43:09.839Z] 765212b225bb: Pulling fs layer [2024-07-02T17:43:09.839Z] f23df028b6ca: Pulling fs layer [2024-07-02T17:43:09.839Z] d65c8cfc05b1: Pulling fs layer [2024-07-02T17:43:09.839Z] 2437ff75d9bd: Pulling fs layer [2024-07-02T17:43:09.839Z] 765212b225bb: Waiting [2024-07-02T17:43:09.839Z] f23df028b6ca: Waiting [2024-07-02T17:43:09.839Z] d65c8cfc05b1: Waiting [2024-07-02T17:43:09.839Z] 2437ff75d9bd: Waiting [2024-07-02T17:43:09.839Z] 04944245beec: Verifying Checksum [2024-07-02T17:43:09.839Z] 04944245beec: Download complete [2024-07-02T17:43:09.839Z] 765212b225bb: Verifying Checksum [2024-07-02T17:43:09.839Z] 765212b225bb: Download complete [2024-07-02T17:43:09.839Z] f23df028b6ca: Verifying Checksum [2024-07-02T17:43:09.839Z] f23df028b6ca: Download complete [2024-07-02T17:43:09.839Z] d65c8cfc05b1: Verifying Checksum [2024-07-02T17:43:09.839Z] d65c8cfc05b1: Download complete [2024-07-02T17:43:10.114Z] 699f458cf7ca: Verifying Checksum [2024-07-02T17:43:10.114Z] 699f458cf7ca: Download complete [2024-07-02T17:43:10.384Z] 8998bd30e6a1: Verifying Checksum [2024-07-02T17:43:10.384Z] 8998bd30e6a1: Download complete [2024-07-02T17:43:12.979Z] 2437ff75d9bd: Verifying Checksum [2024-07-02T17:43:12.979Z] 2437ff75d9bd: Download complete [2024-07-02T17:43:15.560Z] 8998bd30e6a1: Pull complete [2024-07-02T17:43:15.560Z] 04944245beec: Pull complete [2024-07-02T17:43:17.501Z] 699f458cf7ca: Pull complete [2024-07-02T17:43:17.501Z] 765212b225bb: Pull complete [2024-07-02T17:43:18.081Z] f23df028b6ca: Pull complete [2024-07-02T17:43:18.347Z] d65c8cfc05b1: Pull complete [2024-07-02T17:43:36.541Z] 2437ff75d9bd: Pull complete [2024-07-02T17:43:36.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-02T17:43:36.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T17:43:36.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:43:36.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-4831 does not seem to be running inside a container [2024-07-02T17:43:36.952Z] $ 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-07-02T17:43:39.354Z] $ docker top e8feb87ea6bebc3e49d6e2ca3aafb173557561f5e21ccf2c745f9c9a117e9ca0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:40.285Z] ---> job-cost.sh [2024-07-02T17:43:40.285Z] lf-activate-venv: SKIPPING [2024-07-02T17:43:40.285Z] INFO: No Stack... [2024-07-02T17:43:40.866Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-02T17:43:41.447Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T17:43:42.108Z] + cut -d, -f6 [2024-07-02T17:43:42.109Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2024-07-02T17:43:42.184Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [2024-07-02T17:43:42.190Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] did not exist. Created. [2024-07-02T17:43:42.196Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T17:43:42.932Z] /w/workspace/device-usb-camera/1@tmp/durable-a5dc14ac/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-02T17:43:43.602Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-02T17:43:43.643Z] Warning: overwriting stash ‘stack-cost’ [2024-07-02T17:43:43.685Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T17:43:43.707Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T17:43:43.797Z] $ docker stop --time=1 e8feb87ea6bebc3e49d6e2ca3aafb173557561f5e21ccf2c745f9c9a117e9ca0 [2024-07-02T17:43:45.290Z] $ docker rm -f --volumes e8feb87ea6bebc3e49d6e2ca3aafb173557561f5e21ccf2c745f9c9a117e9ca0 [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-07-02T17:43:46.514Z] provisioning config files... [2024-07-02T17:43:46.524Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config7905437155431462066tmp [Pipeline] { [Pipeline] sh [2024-07-02T17:43:46.882Z] + set +x [2024-07-02T17:43:46.882Z] + bash -s -- [2024-07-02T17:43:46.882Z] + curl -s https://codecov.io/bash [2024-07-02T17:43:46.882Z] [2024-07-02T17:43:46.882Z] _____ _ [2024-07-02T17:43:46.882Z] / ____| | | [2024-07-02T17:43:46.882Z] | | ___ __| | ___ ___ _____ __ [2024-07-02T17:43:46.882Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-02T17:43:46.882Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-02T17:43:46.882Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-02T17:43:46.882Z] Bash-1.0.6 [2024-07-02T17:43:46.882Z] [2024-07-02T17:43:46.882Z] [2024-07-02T17:43:46.882Z] ==> git version 2.25.1 found [2024-07-02T17:43:46.882Z] ==> 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-07-02T17:43:46.882Z] Release-Date: 2020-01-08 [2024-07-02T17:43:46.882Z] 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-07-02T17:43:46.882Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-02T17:43:46.882Z] ==> Jenkins CI detected. [2024-07-02T17:43:46.882Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-335 [2024-07-02T17:43:46.882Z] project root: . [2024-07-02T17:43:46.882Z] --> token set from env [2024-07-02T17:43:46.882Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-02T17:43:46.882Z] ==> Running gcov in . (disable via -X gcov) [2024-07-02T17:43:46.882Z] ==> Python coveragepy not found [2024-07-02T17:43:46.882Z] ==> Searching for coverage reports in: [2024-07-02T17:43:46.882Z] + . [2024-07-02T17:43:47.143Z] -> Found 1 reports [2024-07-02T17:43:47.143Z] ==> Detecting git/mercurial file structure [2024-07-02T17:43:47.143Z] ==> Reading reports [2024-07-02T17:43:47.143Z] + ./coverage.out bytes=54703 [2024-07-02T17:43:47.143Z] ==> Appending adjustments [2024-07-02T17:43:47.143Z] https://docs.codecov.io/docs/fixing-reports [2024-07-02T17:43:47.143Z] + Found adjustments [2024-07-02T17:43:47.143Z] ==> Gzipping contents [2024-07-02T17:43:47.143Z] 8.0K /tmp/codecov.CLUWas.gz [2024-07-02T17:43:47.143Z] ==> Uploading reports [2024-07-02T17:43:47.143Z] url: https://codecov.io [2024-07-02T17:43:47.143Z] query: branch=PR-335&commit=7c2a5efa92860029cd8e5acc233c360e99f07ab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=335&job=&cmd_args= [2024-07-02T17:43:47.143Z] -> Pinging Codecov [2024-07-02T17:43:47.143Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-335&commit=7c2a5efa92860029cd8e5acc233c360e99f07ab8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=335&job=&cmd_args= [2024-07-02T17:43:47.403Z] -> Uploading to [2024-07-02T17:43:47.404Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-02/73D8F5FF140700D3E01443B452E23636/7c2a5efa92860029cd8e5acc233c360e99f07ab8/50476f88-d6eb-46de-9a65-323553d69a29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T174347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5970a57066299725bdb8b27c5ccec4278b56d835e4a2770e1fe31af411619ae [2024-07-02T17:43:47.404Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T17:43:47.404Z] Dload Upload Total Spent Left Speed [2024-07-02T17:43:47.664Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 25874 --:--:-- --:--:-- --:--:-- 25874 [2024-07-02T17:43:47.664Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/7c2a5efa92860029cd8e5acc233c360e99f07ab8 [Pipeline] } [2024-07-02T17:43:47.702Z] 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-07-02T17:43:51.039Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-335/archives ] [2024-07-02T17:43:51.039Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-335/archives [2024-07-02T17:43:51.039Z] total 16 [2024-07-02T17:43:51.039Z] drwxr-xr-x 3 root root 4096 Jul 2 17:33 . [2024-07-02T17:43:51.039Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 17:33 .. [2024-07-02T17:43:51.039Z] drwxr-xr-x 2 root root 4096 Jul 2 17:33 cost [2024-07-02T17:43:51.039Z] -rw-r--r-- 1 root root 89 Jul 2 17:33 cost.csv [2024-07-02T17:43:51.039Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-335/archives [2024-07-02T17:43:51.039Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-335/archives [2024-07-02T17:43:51.039Z] total 16 [2024-07-02T17:43:51.039Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 17:33 . [2024-07-02T17:43:51.039Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 17:33 .. [2024-07-02T17:43:51.039Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 17:33 cost [2024-07-02T17:43:51.039Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 2 17:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:51.649Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:52.616Z] ---> package-listing.sh [2024-07-02T17:43:52.616Z] ++ facter osfamily [2024-07-02T17:43:52.616Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-02T17:43:52.616Z] + OS_FAMILY=debian [2024-07-02T17:43:52.616Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-335 [2024-07-02T17:43:52.616Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-02T17:43:52.616Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-02T17:43:52.616Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-02T17:43:52.616Z] + PACKAGES=/tmp/packages_start.txt [2024-07-02T17:43:52.616Z] + '[' /w/workspace/foundry_device-usb-camera_PR-335 ']' [2024-07-02T17:43:52.616Z] + PACKAGES=/tmp/packages_end.txt [2024-07-02T17:43:52.616Z] + case "${OS_FAMILY}" in [2024-07-02T17:43:52.616Z] + dpkg -l [2024-07-02T17:43:52.616Z] + grep '^ii' [2024-07-02T17:43:52.896Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-02T17:43:52.896Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-02T17:43:52.896Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-02T17:43:52.896Z] + '[' /w/workspace/foundry_device-usb-camera_PR-335 ']' [2024-07-02T17:43:52.896Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-335/archives/ [2024-07-02T17:43:52.896Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-335/archives/ [Pipeline] echo [2024-07-02T17:43:53.027Z] 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-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-02T17:43:53.323Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T17:43:54.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T17:43:54.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T17:43:54.196Z] prd-ubuntu20.04-docker-8c-8g-4830 does not seem to be running inside a container [2024-07-02T17:43:54.232Z] $ 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-335/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-335 -v /w/workspace/foundry_device-usb-camera_PR-335:/w/workspace/foundry_device-usb-camera_PR-335:rw,z -v /w/workspace/foundry_device-usb-camera_PR-335@tmp:/w/workspace/foundry_device-usb-camera_PR-335@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-07-02T17:43:54.397Z] $ docker top 0b78c54e4ddef19ebdd35043852d7b407cee0fc541386406db275826405d60e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T17:43:54.818Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-02T17:43:55.142Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-02T17:43:55.457Z] + ls /var/log/sa-host [2024-07-02T17:43:55.457Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T17:43:55.927Z] provisioning config files... [2024-07-02T17:43:55.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-335@tmp/config17078693344904729435tmp [Pipeline] { [Pipeline] echo [2024-07-02T17:43:56.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:56.645Z] ---> create-netrc.sh [Pipeline] } [2024-07-02T17:43:56.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:57.170Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-02T17:43:57.273Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:57.606Z] ---> sudo-logs.sh [2024-07-02T17:43:57.606Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-02T17:43:57.897Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:58.279Z] ---> job-cost.sh [2024-07-02T17:43:58.279Z] lf-activate-venv: SKIPPING [2024-07-02T17:43:58.279Z] DEBUG: total: 0.2199999988079071 [2024-07-02T17:43:58.279Z] INFO: Retrieving Stack Cost... [2024-07-02T17:43:58.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T17:43:59.111Z] INFO: Archiving Costs [Pipeline] echo [2024-07-02T17:43:59.176Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T17:43:59.504Z] ---> logs-deploy.sh [2024-07-02T17:43:59.504Z] lf-activate-venv: SKIPPING [2024-07-02T17:43:59.504Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-335/1 [2024-07-02T17:43:59.504Z] INFO: archiving workspace using pattern(s): [2024-07-02T17:44:00.443Z] Archives upload complete. [2024-07-02T17:44:00.443Z] INFO: archiving logs to Nexus