Pull request #364 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-usb-camera Obtained Jenkinsfile from b5d676e8a6843cf9a3cc18782c7c5b0a2db22662+cec5fe797acd0a57918cb92b5c0815420fffe93d (c41b36db196d9d2a8b512218c7af16b13c1371d2) 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-ssh13185474472922835904.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6834493688008759372.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-364/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6147837123050522203.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1474814857743213046.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-364/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15763296969961820436.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-24962 in /w/workspace/foundry_device-usb-camera_PR-364 [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-364 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cec5fe797acd0a57918cb92b5c0815420fffe93d into PR head commit b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 > 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/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 # timeout=10 Merge succeeded, producing b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 Checking out Revision b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 (PR-364) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cec5fe797acd0a57918cb92b5c0815420fffe93d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git rev-list --no-walk d094db71989286d2b3e14cf42c05888c2403aea8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T02:58:18.276Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T02:58:18.488Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T02:58:18.508Z] ========================================================= [2024-11-08T02:58:18.508Z] EdgeX Global Pipelines Version Info [2024-11-08T02:58:18.508Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:58:19.237Z] ------------------- [2024-11-08T02:58:19.237Z] stable info: [2024-11-08T02:58:19.237Z] ------------------- [2024-11-08T02:58:19.237Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T02:58:19.237Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T02:58:19.237Z] Message: update stable to v1.0.265 [2024-11-08T02:58:19.807Z] ------------------- [2024-11-08T02:58:19.807Z] experimental info: [2024-11-08T02:58:19.807Z] ------------------- [2024-11-08T02:58:19.807Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T02:58:19.807Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T02:58:19.807Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T02:58:19.906Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-11-08T02:58:19.930Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-11-08T02:58:19.950Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T02:58:19.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T02:58:19.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T02:58:20.025Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T02:58:20.051Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T02:58:20.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T02:58:20.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T02:58:20.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T02:58:20.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T02:58:20.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-11-08T02:58:20.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T02:58:20.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T02:58:20.233Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:58:20.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T02:58:20.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:58:20.301Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T02:58:20.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T02:58:20.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T02:58:20.372Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T02:58:20.394Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T02:58:20.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T02:58:20.443Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T02:58:20.472Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T02:58:20.492Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T02:58:20.516Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T02:58:20.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-364 [Pipeline] echo [2024-11-08T02:58:20.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-364 [Pipeline] echo [2024-11-08T02:58:20.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-364 [Pipeline] echo [2024-11-08T02:58:20.600Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [Pipeline] echo [2024-11-08T02:58:20.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5d676e [Pipeline] echo [2024-11-08T02:58:20.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T02:58:20.694Z] provisioning config files... [2024-11-08T02:58:20.709Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config10999184936985465676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:58:21.052Z] ---> ****-login.sh [2024-11-08T02:58:21.053Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:58:21.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:21.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:21.334Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:21.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:21.334Z] [2024-11-08T02:58:21.334Z] Login Succeeded [2024-11-08T02:58:21.334Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:58:21.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:21.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:21.334Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:21.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:21.334Z] [2024-11-08T02:58:21.334Z] Login Succeeded [2024-11-08T02:58:21.334Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:58:21.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:21.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:21.593Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:21.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:21.593Z] [2024-11-08T02:58:21.593Z] Login Succeeded [2024-11-08T02:58:21.593Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:58:21.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:21.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:21.593Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:21.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:21.593Z] [2024-11-08T02:58:21.593Z] Login Succeeded [2024-11-08T02:58:21.593Z] ****.io [2024-11-08T02:58:21.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:21.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:21.852Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:21.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:21.852Z] [2024-11-08T02:58:21.852Z] Login Succeeded [2024-11-08T02:58:21.852Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:58:21.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T02:58:22.274Z] + git rev-list -1 --merges b5d676e8a6843cf9a3cc18782c7c5b0a2db22662~1..b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [Pipeline] echo [2024-11-08T02:58:22.308Z] -----------> git rev-list -1 --merges b5d676e8a6843cf9a3cc18782c7c5b0a2db22662~1..b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [false] [Pipeline] sh [2024-11-08T02:58:22.606Z] + git log --format=format:%s -1 b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [Pipeline] echo [2024-11-08T02:58:22.624Z] ========================================================= [2024-11-08T02:58:22.624Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T02:58:22.624Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T02:58:22.968Z] + git log --format=format:%s -1 b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [Pipeline] echo [2024-11-08T02:58:22.980Z] [semverPrep] GIT_COMMIT: b5d676e8a6843cf9a3cc18782c7c5b0a2db22662, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T02:58:22.999Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T02:58:23.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T02:58:23.365Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T02:58:23.365Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T02:58:23.365Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T02:58:23.365Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T02:58:23.365Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T02:58:23.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:23.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:58:23.721Z] [2024-11-08T02:58:23.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:24.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:58:24.028Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T02:58:24.028Z] b85a868b505f: Pulling fs layer [2024-11-08T02:58:24.028Z] e2be974225ed: Pulling fs layer [2024-11-08T02:58:24.028Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T02:58:24.028Z] 988bab9f4d93: Pulling fs layer [2024-11-08T02:58:24.028Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T02:58:24.028Z] eaf3925da568: Pulling fs layer [2024-11-08T02:58:24.028Z] bab4dde63d76: Pulling fs layer [2024-11-08T02:58:24.028Z] bde34c3a00c8: Pulling fs layer [2024-11-08T02:58:24.028Z] b352a97aabf1: Pulling fs layer [2024-11-08T02:58:24.028Z] 4872d77fe225: Pulling fs layer [2024-11-08T02:58:24.028Z] 5851b861e8e6: Pulling fs layer [2024-11-08T02:58:24.028Z] 988bab9f4d93: Waiting [2024-11-08T02:58:24.028Z] 1469e6f7b9e6: Waiting [2024-11-08T02:58:24.028Z] b352a97aabf1: Waiting [2024-11-08T02:58:24.028Z] 4872d77fe225: Waiting [2024-11-08T02:58:24.028Z] 5851b861e8e6: Waiting [2024-11-08T02:58:24.028Z] eaf3925da568: Waiting [2024-11-08T02:58:24.028Z] bab4dde63d76: Waiting [2024-11-08T02:58:24.028Z] bde34c3a00c8: Waiting [2024-11-08T02:58:24.028Z] e2be974225ed: Verifying Checksum [2024-11-08T02:58:24.028Z] e2be974225ed: Download complete [2024-11-08T02:58:24.028Z] 988bab9f4d93: Verifying Checksum [2024-11-08T02:58:24.028Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T02:58:24.028Z] 1469e6f7b9e6: Download complete [2024-11-08T02:58:24.288Z] eaf3925da568: Download complete [2024-11-08T02:58:24.288Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T02:58:24.288Z] 339a4e72a1f5: Download complete [2024-11-08T02:58:24.288Z] bde34c3a00c8: Verifying Checksum [2024-11-08T02:58:24.288Z] bde34c3a00c8: Download complete [2024-11-08T02:58:24.288Z] b352a97aabf1: Verifying Checksum [2024-11-08T02:58:24.288Z] b352a97aabf1: Download complete [2024-11-08T02:58:24.288Z] 4872d77fe225: Verifying Checksum [2024-11-08T02:58:24.288Z] 4872d77fe225: Download complete [2024-11-08T02:58:24.288Z] 5851b861e8e6: Verifying Checksum [2024-11-08T02:58:24.288Z] 5851b861e8e6: Download complete [2024-11-08T02:58:24.288Z] b85a868b505f: Verifying Checksum [2024-11-08T02:58:24.288Z] b85a868b505f: Download complete [2024-11-08T02:58:24.549Z] bab4dde63d76: Verifying Checksum [2024-11-08T02:58:24.549Z] bab4dde63d76: Download complete [2024-11-08T02:58:25.934Z] b85a868b505f: Pull complete [2024-11-08T02:58:25.934Z] e2be974225ed: Pull complete [2024-11-08T02:58:26.502Z] 339a4e72a1f5: Pull complete [2024-11-08T02:58:26.502Z] 988bab9f4d93: Pull complete [2024-11-08T02:58:26.763Z] 1469e6f7b9e6: Pull complete [2024-11-08T02:58:26.763Z] eaf3925da568: Pull complete [2024-11-08T02:58:28.697Z] bab4dde63d76: Pull complete [2024-11-08T02:58:28.959Z] bde34c3a00c8: Pull complete [2024-11-08T02:58:29.218Z] b352a97aabf1: Pull complete [2024-11-08T02:58:29.477Z] 4872d77fe225: Pull complete [2024-11-08T02:58:29.477Z] 5851b861e8e6: Pull complete [2024-11-08T02:58:29.477Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T02:58:29.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T02:58:29.477Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:58:29.634Z] prd-ubuntu20.04-docker-8c-8g-24962 does not seem to be running inside a container [2024-11-08T02:58:29.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T02:58:32.781Z] $ docker top 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 -eo pid,comm [2024-11-08T02:58:32.829Z] 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-11-08T02:58:32.829Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T02:58:32.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:58:32.888Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:58:33.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:58:33.018Z] $ docker exec 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 ssh-agent [2024-11-08T02:58:33.118Z] SSH_AUTH_SOCK=/tmp/ssh-bumvWpbr09Ta/agent.31 [2024-11-08T02:58:33.118Z] SSH_AGENT_PID=37 [2024-11-08T02:58:33.124Z] Running ssh-add (command line suppressed) [2024-11-08T02:58:33.218Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_15327114424360054936.key (/w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_15327114424360054936.key) [2024-11-08T02:58:33.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:58:33.526Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T02:58:33.536Z] $ docker exec --env ******** --env ******** 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 ssh-agent -k [2024-11-08T02:58:33.631Z] unset SSH_AUTH_SOCK; [2024-11-08T02:58:33.632Z] unset SSH_AGENT_PID; [2024-11-08T02:58:33.632Z] echo Agent pid 37 killed; [2024-11-08T02:58:33.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T02:58:33.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T02:58:33.689Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T02:58:33.797Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T02:58:33.800Z] $ docker exec 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 ssh-agent [2024-11-08T02:58:33.907Z] SSH_AUTH_SOCK=/tmp/ssh-O24lWd9Hk0rp/agent.70 [2024-11-08T02:58:33.907Z] SSH_AGENT_PID=76 [2024-11-08T02:58:33.912Z] Running ssh-add (command line suppressed) [2024-11-08T02:58:34.017Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_1990664840716198764.key (/w/workspace/foundry_device-usb-camera_PR-364@tmp/private_key_1990664840716198764.key) [2024-11-08T02:58:34.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T02:58:34.329Z] + git semver init [2024-11-08T02:58:34.589Z] 2024-11-08 02:58:34,571 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T02:58:34.589Z] 2024-11-08 02:58:34,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-364/.semver [2024-11-08T02:58:34.589Z] 2024-11-08 02:58:34,573 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-364/.semver [2024-11-08T02:58:34.589Z] 2024-11-08 02:58:34,574 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-364/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-364, universal_newlines=False, shell=None, istream=None) [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,381 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-364/.git/info/exclude [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-364/.semver/PR-364 with force:False [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,381 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-364/.semver/PR-364 [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,385 [execute] INFO git cat-file --batch-check [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-364/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,391 [execute] INFO git cat-file --batch [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-364/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T02:58:36.496Z] 2024-11-08 02:58:36,396 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-364/.semver/PR-364 [2024-11-08T02:58:36.496Z] 0.0.0 [Pipeline] } [2024-11-08T02:58:36.504Z] $ docker exec --env ******** --env ******** 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 ssh-agent -k [2024-11-08T02:58:36.603Z] unset SSH_AUTH_SOCK; [2024-11-08T02:58:36.604Z] unset SSH_AGENT_PID; [2024-11-08T02:58:36.604Z] echo Agent pid 76 killed; [2024-11-08T02:58:36.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T02:58:36.959Z] + git semver [Pipeline] } [2024-11-08T02:58:37.256Z] $ docker stop --time=1 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 [2024-11-08T02:58:38.613Z] $ docker rm -f --volumes 52872ea422b89f421a2bbe98d51cc3949e9cf1841530c085e800733e9af91141 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T02:58:38.961Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T02:58:39.179Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T02:58:39.184Z] [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-11-08T02:58:39.361Z] provisioning config files... [2024-11-08T02:58:39.370Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config16808481112960056197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T02:58:39.678Z] ---> ****-login.sh [2024-11-08T02:58:39.678Z] nexus3.edgexfoundry.org:10001 [2024-11-08T02:58:39.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:39.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:39.678Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:39.679Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:39.679Z] [2024-11-08T02:58:39.679Z] Login Succeeded [2024-11-08T02:58:39.679Z] nexus3.edgexfoundry.org:10002 [2024-11-08T02:58:39.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:39.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:39.679Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:39.679Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:39.679Z] [2024-11-08T02:58:39.679Z] Login Succeeded [2024-11-08T02:58:39.679Z] nexus3.edgexfoundry.org:10003 [2024-11-08T02:58:39.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:39.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:39.941Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:39.941Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:39.941Z] [2024-11-08T02:58:39.941Z] Login Succeeded [2024-11-08T02:58:39.941Z] nexus3.edgexfoundry.org:10004 [2024-11-08T02:58:39.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:39.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:39.941Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:39.941Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:39.941Z] [2024-11-08T02:58:39.941Z] Login Succeeded [2024-11-08T02:58:39.941Z] ****.io [2024-11-08T02:58:40.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T02:58:40.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T02:58:40.203Z] Configure a credential helper to remove this warning. See [2024-11-08T02:58:40.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T02:58:40.203Z] [2024-11-08T02:58:40.203Z] Login Succeeded [2024-11-08T02:58:40.203Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T02:58:40.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T02:58:40.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:58:40.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T02:58:40.343Z] ========================================================= [2024-11-08T02:58:40.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T02:58:40.343Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:58:40.689Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T02:58:40.689Z] Sending build context to Docker daemon 20.6MB [2024-11-08T02:58:40.689Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T02:58:40.689Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-08T02:58:40.948Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T02:58:40.948Z] 43c4264eed91: Pulling fs layer [2024-11-08T02:58:40.948Z] 4cc291be95ef: Pulling fs layer [2024-11-08T02:58:40.948Z] 2ac1f1163629: Pulling fs layer [2024-11-08T02:58:40.948Z] 5c3c966382ef: Pulling fs layer [2024-11-08T02:58:40.948Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T02:58:40.948Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T02:58:40.948Z] 9f66e0745190: Pulling fs layer [2024-11-08T02:58:40.948Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T02:58:40.948Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T02:58:40.948Z] 5d5c8e513c77: Waiting [2024-11-08T02:58:40.948Z] f49a43e4bbc0: Waiting [2024-11-08T02:58:40.948Z] 5c3c966382ef: Waiting [2024-11-08T02:58:40.948Z] 9f66e0745190: Waiting [2024-11-08T02:58:40.948Z] 4cc291be95ef: Verifying Checksum [2024-11-08T02:58:40.948Z] 5c3c966382ef: Verifying Checksum [2024-11-08T02:58:40.948Z] 5c3c966382ef: Download complete [2024-11-08T02:58:40.948Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T02:58:40.948Z] 4f4fb700ef54: Download complete [2024-11-08T02:58:40.948Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T02:58:40.948Z] 5d5c8e513c77: Download complete [2024-11-08T02:58:40.948Z] 43c4264eed91: Verifying Checksum [2024-11-08T02:58:40.948Z] 43c4264eed91: Download complete [2024-11-08T02:58:40.948Z] 9f66e0745190: Verifying Checksum [2024-11-08T02:58:40.948Z] 9f66e0745190: Download complete [2024-11-08T02:58:40.948Z] 43c4264eed91: Pull complete [2024-11-08T02:58:41.207Z] 561ebcabdf7f: Download complete [2024-11-08T02:58:41.207Z] 4cc291be95ef: Pull complete [2024-11-08T02:58:41.465Z] 2ac1f1163629: Download complete [2024-11-08T02:58:41.726Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T02:58:41.726Z] f49a43e4bbc0: Download complete [2024-11-08T02:58:45.006Z] 2ac1f1163629: Pull complete [2024-11-08T02:58:45.006Z] 5c3c966382ef: Pull complete [2024-11-08T02:58:45.006Z] 4f4fb700ef54: Pull complete [2024-11-08T02:58:45.006Z] 5d5c8e513c77: Pull complete [2024-11-08T02:58:45.264Z] 9f66e0745190: Pull complete [2024-11-08T02:58:47.857Z] f49a43e4bbc0: Pull complete [2024-11-08T02:58:47.857Z] 561ebcabdf7f: Pull complete [2024-11-08T02:58:47.857Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T02:58:47.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T02:58:47.857Z] ---> 3a752c3f9dda [2024-11-08T02:58:47.857Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-08T02:58:52.086Z] ---> Running in 936fa682baf0 [2024-11-08T02:58:52.346Z] Removing intermediate container 936fa682baf0 [2024-11-08T02:58:52.346Z] ---> 5a6724dd2621 [2024-11-08T02:58:52.346Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T02:58:52.346Z] ---> Running in 43124cb833d9 [2024-11-08T02:58:52.346Z] Removing intermediate container 43124cb833d9 [2024-11-08T02:58:52.346Z] ---> 741b676dd0c4 [2024-11-08T02:58:52.346Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-08T02:58:52.640Z] ---> Running in 4665f9825f6f [2024-11-08T02:58:52.640Z] Removing intermediate container 4665f9825f6f [2024-11-08T02:58:52.640Z] ---> 2c3abf4dbeec [2024-11-08T02:58:52.640Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-08T02:58:52.640Z] ---> Running in cea53f572743 [2024-11-08T02:58:52.900Z] Removing intermediate container cea53f572743 [2024-11-08T02:58:52.900Z] ---> 1b86c5b01d33 [2024-11-08T02:58:52.900Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T02:58:52.900Z] ---> Running in 306e1ca75a08 [2024-11-08T02:58:53.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:53.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T02:58:53.677Z] (1/14) Installing libintl (0.22.5-r0) [2024-11-08T02:58:53.677Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-11-08T02:58:53.677Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-11-08T02:58:53.677Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-11-08T02:58:53.677Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-11-08T02:58:53.677Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-11-08T02:58:53.677Z] (7/14) Installing udev-init-scripts (35-r1) [2024-11-08T02:58:53.677Z] (8/14) Installing libeconf (0.6.3-r0) [2024-11-08T02:58:53.677Z] (9/14) Installing libblkid (2.40.1-r1) [2024-11-08T02:58:53.677Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-11-08T02:58:53.677Z] (11/14) Installing kmod-libs (32-r0) [2024-11-08T02:58:53.677Z] (12/14) Installing eudev (3.2.14-r2) [2024-11-08T02:58:53.677Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-11-08T02:58:53.677Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-11-08T02:58:53.677Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T02:58:53.936Z] Executing eudev-3.2.14-r2.trigger [2024-11-08T02:58:53.936Z] OK: 253 MiB in 68 packages [2024-11-08T02:58:54.311Z] Still waiting to schedule task [2024-11-08T02:58:54.311Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T02:58:54.503Z] Removing intermediate container 306e1ca75a08 [2024-11-08T02:58:54.503Z] ---> f6e7fc0a756a [2024-11-08T02:58:54.503Z] Step 8/13 : WORKDIR /device-usb-camera [2024-11-08T02:58:54.503Z] ---> Running in 9f14e15f2ac9 [2024-11-08T02:58:54.503Z] Removing intermediate container 9f14e15f2ac9 [2024-11-08T02:58:54.503Z] ---> 14ce1fd97a2b [2024-11-08T02:58:54.503Z] Step 9/13 : COPY go.mod vendor* ./ [2024-11-08T02:58:54.503Z] ---> 9602f1bbcbd8 [2024-11-08T02:58:54.503Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T02:58:54.503Z] ---> Running in 4286f2291068 [2024-11-08T02:59:50.728Z] Removing intermediate container 4286f2291068 [2024-11-08T02:59:50.728Z] ---> e69af9029f98 [2024-11-08T02:59:50.728Z] Step 11/13 : COPY . . [2024-11-08T02:59:50.728Z] ---> 0f76eee6f49c [2024-11-08T02:59:50.728Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-08T02:59:50.728Z] ---> Running in 71e9fd5a414f [2024-11-08T02:59:50.728Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T02:59:50.728Z] Dload Upload Total Spent Left Speed [2024-11-08T02:59:50.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062    0     0   7261      0 --:--:-- --:--:-- --:--:--  7273 100 1062  100  1062    0    0  6857    0 --:--:-- --:--:-- --:--:--  6851 [2024-11-08T02:59:50.728Z] Removing intermediate container 71e9fd5a414f [2024-11-08T02:59:50.728Z] ---> ca7931168c84 [2024-11-08T02:59:50.728Z] Step 13/13 : RUN ${MAKE} [2024-11-08T02:59:50.728Z] ---> Running in 217da9c0c305 [2024-11-08T02:59:50.728Z] noop [2024-11-08T02:59:50.728Z] Removing intermediate container 217da9c0c305 [2024-11-08T02:59:50.728Z] ---> 0d2cb1c00727 [2024-11-08T02:59:50.728Z] Successfully built 0d2cb1c00727 [2024-11-08T02:59:50.728Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:51.064Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:59:51.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:59:51.148Z] prd-ubuntu20.04-docker-8c-8g-24962 does not seem to be running inside a container [2024-11-08T02:59:51.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:59:51.528Z] $ docker top 0c01ceaf41398caa56842adaf0574bf6a6cfc045ea045a716b664fd3f6bd4f70 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:59:51.875Z] + go version [2024-11-08T02:59:51.875Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T02:59:51.884Z] $ docker stop --time=1 0c01ceaf41398caa56842adaf0574bf6a6cfc045ea045a716b664fd3f6bd4f70 [2024-11-08T02:59:53.233Z] $ docker rm -f --volumes 0c01ceaf41398caa56842adaf0574bf6a6cfc045ea045a716b664fd3f6bd4f70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T02:59:53.693Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T02:59:53.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T02:59:53.815Z] prd-ubuntu20.04-docker-8c-8g-24962 does not seem to be running inside a container [2024-11-08T02:59:53.845Z] $ 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-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T02:59:54.217Z] $ docker top 3d3ca4e54066b9691c3cecba187ce43034eb4ea95818657b7f727e55f0284a19 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T02:59:54.593Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-364 [Pipeline] fileExists [Pipeline] sh [2024-11-08T02:59:54.904Z] + make test [2024-11-08T02:59:54.904Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T02:59:57.480Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-11-08T03:00:19.398Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-11-08T03:00:19.398Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 4.4% of statements [2024-11-08T03:00:29.360Z] go vet ./... [2024-11-08T03:00:36.170Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:00:36.170Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:00:36.170Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:00:36.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:00:36.243Z] $ docker stop --time=1 3d3ca4e54066b9691c3cecba187ce43034eb4ea95818657b7f727e55f0284a19 [2024-11-08T03:00:42.013Z] $ docker rm -f --volumes 3d3ca4e54066b9691c3cecba187ce43034eb4ea95818657b7f727e55f0284a19 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:00:49.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:00:51.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T03:00:52.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:00:52.510Z] + ls -al . [2024-11-08T03:00:52.511Z] total 288 [2024-11-08T03:00:52.511Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:59 . [2024-11-08T03:00:52.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:58 .. [2024-11-08T03:00:52.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:00 .git [2024-11-08T03:00:52.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:58 .github [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 379 Nov 8 02:58 .gitignore [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 203 Nov 8 02:58 .golangci.yml [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 8 02:58 .hadolint.yml [2024-11-08T03:00:52.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:58 .semver [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 19367 Nov 8 02:58 Attribution.txt [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 16561 Nov 8 02:58 CHANGELOG.md [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 2440 Nov 8 02:58 Dockerfile [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 02:58 GOVERNANCE.md [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 8 02:58 Jenkinsfile [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 02:58 LICENSE [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 3193 Nov 8 02:58 Makefile [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 02:58 OWNERS.md [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 2575 Nov 8 02:58 README.md [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:58 VERSION [2024-11-08T03:00:52.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:58 bin [2024-11-08T03:00:52.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:58 cmd [2024-11-08T03:00:52.511Z] -rw-r--r-- 1 jenkins jenkins 54772 Nov 8 03:00 coverage.out [2024-11-08T03:00:52.511Z] -rwxrwxr-x 1 jenkins jenkins 84 Nov 8 02:58 docker-entrypoint.sh [2024-11-08T03:00:52.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:58 docs [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 6515 Nov 8 02:58 go.mod [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 88539 Nov 8 02:58 go.sum [2024-11-08T03:00:52.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:58 internal [2024-11-08T03:00:52.511Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 8 02:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:00:52.831Z] + 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=b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 --label arch=amd64 --label version=0.0.0 . [2024-11-08T03:00:52.831Z] Sending build context to Docker daemon 20.65MB [2024-11-08T03:00:52.831Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:00:52.831Z] Step 2/37 : FROM ${BASE} AS builder [2024-11-08T03:00:52.831Z] ---> 0d2cb1c00727 [2024-11-08T03:00:52.831Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:00:53.399Z] ---> Running in a1d5f28f44f1 [2024-11-08T03:00:53.658Z] Removing intermediate container a1d5f28f44f1 [2024-11-08T03:00:53.658Z] ---> abeac53b5a00 [2024-11-08T03:00:53.658Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:00:53.658Z] ---> Running in 2a0e1427d30c [2024-11-08T03:00:53.658Z] Removing intermediate container 2a0e1427d30c [2024-11-08T03:00:53.658Z] ---> d15cab6e7e53 [2024-11-08T03:00:53.658Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-08T03:00:53.658Z] ---> Running in 3026581674e2 [2024-11-08T03:00:53.658Z] Removing intermediate container 3026581674e2 [2024-11-08T03:00:53.658Z] ---> 9d5c687b8dfe [2024-11-08T03:00:53.658Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-08T03:00:53.917Z] ---> Running in b6ce3b276c5e [2024-11-08T03:00:53.917Z] Removing intermediate container b6ce3b276c5e [2024-11-08T03:00:53.917Z] ---> 9111d8586e98 [2024-11-08T03:00:53.917Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:00:53.917Z] ---> Running in f513b84697ca [2024-11-08T03:00:54.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:54.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:00:55.005Z] OK: 253 MiB in 68 packages [2024-11-08T03:00:55.263Z] Removing intermediate container f513b84697ca [2024-11-08T03:00:55.263Z] ---> 7e821412af90 [2024-11-08T03:00:55.263Z] Step 8/37 : WORKDIR /device-usb-camera [2024-11-08T03:00:55.263Z] ---> Running in f1b93c96c126 [2024-11-08T03:00:55.263Z] Removing intermediate container f1b93c96c126 [2024-11-08T03:00:55.263Z] ---> 81e22476c5e0 [2024-11-08T03:00:55.263Z] Step 9/37 : COPY go.mod vendor* ./ [2024-11-08T03:00:55.521Z] ---> 597365c276dd [2024-11-08T03:00:55.521Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:00:55.521Z] ---> Running in 3692c1de7dde [2024-11-08T03:00:56.458Z] Removing intermediate container 3692c1de7dde [2024-11-08T03:00:56.458Z] ---> 7d68e018cf7d [2024-11-08T03:00:56.458Z] Step 11/37 : COPY . . [2024-11-08T03:00:57.028Z] ---> 2e98bca1eee0 [2024-11-08T03:00:57.028Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-08T03:00:57.288Z] ---> Running in 92d61e6da992 [2024-11-08T03:00:57.547Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:00:57.547Z] Dload Upload Total Spent Left Speed [2024-11-08T03:00:57.547Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 37103 0 --:--:-- --:--:-- --:--:-- 37928 [2024-11-08T03:00:57.804Z] Removing intermediate container 92d61e6da992 [2024-11-08T03:00:57.804Z] ---> 3533f81bbefa [2024-11-08T03:00:57.804Z] Step 13/37 : RUN ${MAKE} [2024-11-08T03:00:57.804Z] ---> Running in fe85ff543262 [2024-11-08T03:00:58.062Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-11-08T03:01:45.102Z] Removing intermediate container fe85ff543262 [2024-11-08T03:01:45.102Z] ---> e4e6e6e28655 [2024-11-08T03:01:45.102Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-11-08T03:01:45.102Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-11-08T03:01:45.102Z] 8411072a22a5: Pulling fs layer [2024-11-08T03:01:45.102Z] 8411072a22a5: Verifying Checksum [2024-11-08T03:01:45.102Z] 8411072a22a5: Download complete [2024-11-08T03:01:45.102Z] 8411072a22a5: Pull complete [2024-11-08T03:01:45.102Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-11-08T03:01:45.102Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-11-08T03:01:45.102Z] ---> 1ac78cb06e13 [2024-11-08T03:01:45.102Z] Step 15/37 : FROM alpine:3.20 [2024-11-08T03:01:45.102Z] 3.20: Pulling from library/alpine [2024-11-08T03:01:45.102Z] 43c4264eed91: Already exists [2024-11-08T03:01:45.102Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:01:45.102Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:01:45.102Z] ---> 91ef0af61f39 [2024-11-08T03:01:45.102Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-08T03:01:45.102Z] ---> Running in 296069c10d63 [2024-11-08T03:01:45.102Z] Removing intermediate container 296069c10d63 [2024-11-08T03:01:45.102Z] ---> b779c13d9e95 [2024-11-08T03:01:45.102Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-11-08T03:01:45.102Z] ---> Running in 1c94f6570387 [2024-11-08T03:01:45.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:45.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:45.360Z] (1/115) Installing dumb-init (1.2.5-r3) [2024-11-08T03:01:45.620Z] (2/115) Installing libSvtAv1Enc (2.0.0-r1) [2024-11-08T03:01:45.620Z] (3/115) Installing aom-libs (3.9.1-r0) [2024-11-08T03:01:45.620Z] (4/115) Installing libxau (1.0.11-r4) [2024-11-08T03:01:45.620Z] (5/115) Installing libmd (1.1.0-r0) [2024-11-08T03:01:45.620Z] (6/115) Installing libbsd (0.12.2-r0) [2024-11-08T03:01:45.620Z] (7/115) Installing libxdmcp (1.1.5-r1) [2024-11-08T03:01:45.620Z] (8/115) Installing libxcb (1.16.1-r0) [2024-11-08T03:01:45.620Z] (9/115) Installing libx11 (1.8.9-r1) [2024-11-08T03:01:45.620Z] (10/115) Installing hwdata-pci (0.382-r0) [2024-11-08T03:01:45.620Z] (11/115) Installing libpciaccess (0.18.1-r0) [2024-11-08T03:01:45.620Z] (12/115) Installing libdrm (2.4.120-r0) [2024-11-08T03:01:45.620Z] (13/115) Installing libxext (1.3.6-r2) [2024-11-08T03:01:45.620Z] (14/115) Installing libxfixes (6.0.1-r4) [2024-11-08T03:01:45.620Z] (15/115) Installing libffi (3.4.6-r0) [2024-11-08T03:01:45.879Z] (16/115) Installing wayland-libs-client (1.22.0-r4) [2024-11-08T03:01:45.879Z] (17/115) Installing libva (2.21.0-r0) [2024-11-08T03:01:45.879Z] (18/115) Installing libvdpau (1.5-r3) [2024-11-08T03:01:45.879Z] (19/115) Installing libgcc (13.2.1_git20240309-r0) [2024-11-08T03:01:45.879Z] (20/115) Installing libstdc++ (13.2.1_git20240309-r0) [2024-11-08T03:01:45.879Z] (21/115) Installing onevpl-libs (2023.3.1-r2) [2024-11-08T03:01:45.879Z] (22/115) Installing ffmpeg-libavutil (6.1.1-r8) [2024-11-08T03:01:45.879Z] (23/115) Installing libdav1d (1.4.2-r0) [2024-11-08T03:01:45.879Z] (24/115) Installing openexr-libiex (3.1.13-r1) [2024-11-08T03:01:45.879Z] (25/115) Installing openexr-libilmthread (3.1.13-r1) [2024-11-08T03:01:45.879Z] (26/115) Installing imath (3.1.12-r0) [2024-11-08T03:01:45.879Z] (27/115) Installing openexr-libopenexr (3.1.13-r1) [2024-11-08T03:01:45.879Z] (28/115) Installing brotli-libs (1.1.0-r2) [2024-11-08T03:01:45.879Z] (29/115) Installing giflib (5.2.2-r0) [2024-11-08T03:01:45.879Z] (30/115) Installing libhwy (1.0.7-r0) [2024-11-08T03:01:45.880Z] (31/115) Installing libjpeg-turbo (3.0.3-r0) [2024-11-08T03:01:45.880Z] (32/115) Installing lcms2 (2.16-r0) [2024-11-08T03:01:45.880Z] (33/115) Installing libpng (1.6.44-r0) [2024-11-08T03:01:45.880Z] (34/115) Installing libjxl (0.10.2-r0) [2024-11-08T03:01:45.880Z] (35/115) Installing lame-libs (3.100-r5) [2024-11-08T03:01:45.880Z] (36/115) Installing opus (1.5.2-r0) [2024-11-08T03:01:45.880Z] (37/115) Installing rav1e-libs (0.7.1-r0) [2024-11-08T03:01:46.138Z] (38/115) Installing libgomp (13.2.1_git20240309-r0) [2024-11-08T03:01:46.138Z] (39/115) Installing soxr (0.1.3-r7) [2024-11-08T03:01:46.138Z] (40/115) Installing ffmpeg-libswresample (6.1.1-r8) [2024-11-08T03:01:46.138Z] (41/115) Installing libogg (1.3.5-r5) [2024-11-08T03:01:46.138Z] (42/115) Installing libtheora (1.1.1-r18) [2024-11-08T03:01:46.138Z] (43/115) Installing libvorbis (1.3.7-r2) [2024-11-08T03:01:46.138Z] (44/115) Installing libvpx (1.14.1-r0) [2024-11-08T03:01:46.138Z] (45/115) Installing libsharpyuv (1.3.2-r0) [2024-11-08T03:01:46.138Z] (46/115) Installing libwebp (1.3.2-r0) [2024-11-08T03:01:46.138Z] (47/115) Installing libwebpmux (1.3.2-r0) [2024-11-08T03:01:46.138Z] (48/115) Installing x264-libs (0.164_git20231001-r0) [2024-11-08T03:01:46.138Z] (49/115) Installing numactl (2.0.18-r0) [2024-11-08T03:01:46.138Z] (50/115) Installing x265-libs (3.6-r0) [2024-11-08T03:01:46.138Z] (51/115) Installing xvidcore (1.3.7-r2) [2024-11-08T03:01:46.138Z] (52/115) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-11-08T03:01:46.396Z] (53/115) Installing sdl2 (2.28.5-r1) [2024-11-08T03:01:46.397Z] (54/115) Installing alsa-lib (1.2.11-r0) [2024-11-08T03:01:46.397Z] (55/115) Installing libexpat (2.6.3-r0) [2024-11-08T03:01:46.397Z] (56/115) Installing libbz2 (1.0.8-r6) [2024-11-08T03:01:46.397Z] (57/115) Installing freetype (2.13.2-r0) [2024-11-08T03:01:46.397Z] (58/115) Installing fontconfig (2.15.0-r1) [2024-11-08T03:01:46.397Z] (59/115) Installing fribidi (1.0.15-r0) [2024-11-08T03:01:46.397Z] (60/115) Installing libintl (0.22.5-r0) [2024-11-08T03:01:46.397Z] (61/115) Installing libeconf (0.6.3-r0) [2024-11-08T03:01:46.397Z] (62/115) Installing libblkid (2.40.1-r1) [2024-11-08T03:01:46.397Z] (63/115) Installing libmount (2.40.1-r1) [2024-11-08T03:01:46.397Z] (64/115) Installing pcre2 (10.43-r0) [2024-11-08T03:01:46.397Z] (65/115) Installing glib (2.80.5-r0) [2024-11-08T03:01:46.397Z] (66/115) Installing graphite2 (1.3.14-r6) [2024-11-08T03:01:46.397Z] (67/115) Installing harfbuzz (8.5.0-r0) [2024-11-08T03:01:46.655Z] (68/115) Installing libunibreak (6.1-r0) [2024-11-08T03:01:46.655Z] (69/115) Installing libass (0.17.2-r0) [2024-11-08T03:01:46.655Z] (70/115) Installing libbluray (1.3.4-r1) [2024-11-08T03:01:46.655Z] (71/115) Installing mpg123-libs (1.32.8-r0) [2024-11-08T03:01:46.655Z] (72/115) Installing libopenmpt (0.7.7-r0) [2024-11-08T03:01:46.655Z] (73/115) Installing cjson (1.7.18-r0) [2024-11-08T03:01:46.655Z] (74/115) Installing mbedtls (3.6.2-r0) [2024-11-08T03:01:46.655Z] (75/115) Installing librist (0.2.10-r1) [2024-11-08T03:01:46.655Z] (76/115) Installing libsrt (1.5.3-r0) [2024-11-08T03:01:46.655Z] (77/115) Installing libssh (0.10.6-r0) [2024-11-08T03:01:46.655Z] (78/115) Installing xz-libs (5.6.2-r0) [2024-11-08T03:01:46.655Z] (79/115) Installing libxml2 (2.12.7-r0) [2024-11-08T03:01:46.655Z] (80/115) Installing libsodium (1.0.19-r0) [2024-11-08T03:01:46.655Z] (81/115) Installing libzmq (4.3.5-r2) [2024-11-08T03:01:46.655Z] (82/115) Installing ffmpeg-libavformat (6.1.1-r8) [2024-11-08T03:01:46.655Z] (83/115) Installing serd-libs (0.32.2-r0) [2024-11-08T03:01:46.655Z] (84/115) Installing zix-libs (0.4.2-r0) [2024-11-08T03:01:46.655Z] (85/115) Installing sord-libs (0.16.16-r0) [2024-11-08T03:01:46.655Z] (86/115) Installing sratom (0.6.16-r0) [2024-11-08T03:01:46.655Z] (87/115) Installing lilv-libs (0.24.24-r1) [2024-11-08T03:01:46.655Z] (88/115) Installing glslang-libs (1.3.261.1-r0) [2024-11-08T03:01:46.655Z] (89/115) Installing libdovi (3.3.0-r0) [2024-11-08T03:01:46.655Z] (90/115) Installing spirv-tools (1.3.261.1-r0) [2024-11-08T03:01:46.655Z] (91/115) Installing shaderc (2024.0-r0) [2024-11-08T03:01:46.655Z] (92/115) Installing vulkan-loader (1.3.261.1-r0) [2024-11-08T03:01:46.914Z] (93/115) Installing libplacebo (6.338.2-r1) [2024-11-08T03:01:46.914Z] (94/115) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-11-08T03:01:46.914Z] (95/115) Installing ffmpeg-libswscale (6.1.1-r8) [2024-11-08T03:01:46.914Z] (96/115) Installing vidstab (1.1.1-r0) [2024-11-08T03:01:46.914Z] (97/115) Installing zimg (3.0.5-r2) [2024-11-08T03:01:46.914Z] (98/115) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-11-08T03:01:46.914Z] (99/115) Installing libasyncns (0.8-r3) [2024-11-08T03:01:46.914Z] (100/115) Installing dbus-libs (1.14.10-r1) [2024-11-08T03:01:46.914Z] (101/115) Installing libltdl (2.4.7-r3) [2024-11-08T03:01:46.914Z] (102/115) Installing orc (0.4.40-r0) [2024-11-08T03:01:46.914Z] (103/115) Installing libflac (1.4.3-r1) [2024-11-08T03:01:46.914Z] (104/115) Installing libsndfile (1.2.2-r0) [2024-11-08T03:01:46.914Z] (105/115) Installing speexdsp (1.2.1-r2) [2024-11-08T03:01:46.914Z] (106/115) Installing tdb-libs (1.4.9-r1) [2024-11-08T03:01:46.914Z] (107/115) Installing libpulse (17.0-r0) [2024-11-08T03:01:46.914Z] (108/115) Installing v4l-utils-libs (1.24.1-r1) [2024-11-08T03:01:46.914Z] (109/115) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-11-08T03:01:46.914Z] (110/115) Installing ffmpeg (6.1.1-r8) [2024-11-08T03:01:46.914Z] (111/115) Installing udev-init-scripts (35-r1) [2024-11-08T03:01:46.914Z] (112/115) Installing eudev-libs (3.2.14-r2) [2024-11-08T03:01:46.914Z] (113/115) Installing zstd-libs (1.5.6-r0) [2024-11-08T03:01:46.914Z] (114/115) Installing kmod-libs (32-r0) [2024-11-08T03:01:46.914Z] (115/115) Installing eudev (3.2.14-r2) [2024-11-08T03:01:46.914Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:01:46.914Z] Executing glib-2.80.5-r0.trigger [2024-11-08T03:01:46.914Z] Executing eudev-3.2.14-r2.trigger [2024-11-08T03:01:46.914Z] OK: 134 MiB in 129 packages [2024-11-08T03:01:51.125Z] Removing intermediate container 1c94f6570387 [2024-11-08T03:01:51.125Z] ---> 3ac86d6b272e [2024-11-08T03:01:51.125Z] Step 18/37 : RUN apk --no-cache upgrade [2024-11-08T03:01:51.125Z] ---> Running in 90328a551291 [2024-11-08T03:01:51.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:51.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:51.385Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:01:51.385Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:01:51.385Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:01:51.385Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:01:51.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:51.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:01:51.902Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:01:51.902Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:01:51.902Z] OK: 134 MiB in 129 packages [2024-11-08T03:01:52.469Z] Removing intermediate container 90328a551291 [2024-11-08T03:01:52.469Z] ---> 138247ad70ef [2024-11-08T03:01:52.469Z] Step 19/37 : WORKDIR / [2024-11-08T03:01:52.469Z] ---> Running in 0831429b3193 [2024-11-08T03:01:52.469Z] Removing intermediate container 0831429b3193 [2024-11-08T03:01:52.469Z] ---> fddada93edef [2024-11-08T03:01:52.469Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-11-08T03:01:53.423Z] ---> 64355bcdd5a8 [2024-11-08T03:01:53.423Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-11-08T03:01:53.681Z] ---> b3e432ca6d58 [2024-11-08T03:01:53.681Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-11-08T03:01:53.681Z] ---> 5bdd7a59bd88 [2024-11-08T03:01:53.681Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-11-08T03:01:53.941Z] ---> 70fc512b5a0b [2024-11-08T03:01:53.941Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-11-08T03:01:53.941Z] ---> f01cdc7a9c51 [2024-11-08T03:01:53.941Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-11-08T03:01:54.200Z] ---> 9461c7772b68 [2024-11-08T03:01:54.200Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-11-08T03:01:55.135Z] ---> d7fa567859fa [2024-11-08T03:01:55.135Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-11-08T03:01:55.135Z] ---> Running in c1857dc00280 [2024-11-08T03:01:55.394Z] Removing intermediate container c1857dc00280 [2024-11-08T03:01:55.394Z] ---> da05c3c3c62b [2024-11-08T03:01:55.394Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-11-08T03:01:55.394Z] ---> Running in 3da202ed882c [2024-11-08T03:01:55.962Z] Removing intermediate container 3da202ed882c [2024-11-08T03:01:55.962Z] ---> 5f8dd573bba1 [2024-11-08T03:01:55.962Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-11-08T03:01:56.219Z] ---> Running in 1a433664f964 [2024-11-08T03:01:56.786Z] Removing intermediate container 1a433664f964 [2024-11-08T03:01:56.786Z] ---> 4655141f3e82 [2024-11-08T03:01:56.786Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-11-08T03:01:56.786Z] ---> Running in 795b2c81e182 [2024-11-08T03:01:57.354Z] Removing intermediate container 795b2c81e182 [2024-11-08T03:01:57.354Z] ---> 20e31e22c374 [2024-11-08T03:01:57.354Z] Step 31/37 : EXPOSE 59983 [2024-11-08T03:01:57.354Z] ---> Running in ce57328f4774 [2024-11-08T03:01:57.354Z] Removing intermediate container ce57328f4774 [2024-11-08T03:01:57.354Z] ---> 6908ed40e127 [2024-11-08T03:01:57.354Z] Step 32/37 : EXPOSE 8554 [2024-11-08T03:01:57.354Z] ---> Running in 8288f3988989 [2024-11-08T03:01:57.354Z] Removing intermediate container 8288f3988989 [2024-11-08T03:01:57.354Z] ---> 7f2db676b3c4 [2024-11-08T03:01:57.354Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-11-08T03:01:57.354Z] ---> Running in e5cb99b24af3 [2024-11-08T03:01:57.613Z] Removing intermediate container e5cb99b24af3 [2024-11-08T03:01:57.613Z] ---> 947c0dbafc9e [2024-11-08T03:01:57.613Z] Step 34/37 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry" ] [2024-11-08T03:01:57.613Z] ---> Running in 7599d14c6d29 [2024-11-08T03:01:57.613Z] Removing intermediate container 7599d14c6d29 [2024-11-08T03:01:57.613Z] ---> 8a94070990c2 [2024-11-08T03:01:57.613Z] Step 35/37 : LABEL arch=amd64 [2024-11-08T03:01:57.613Z] ---> Running in 12521298c2f8 [2024-11-08T03:01:57.870Z] Removing intermediate container 12521298c2f8 [2024-11-08T03:01:57.870Z] ---> 878ce16917b9 [2024-11-08T03:01:57.870Z] Step 36/37 : LABEL git_sha=b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [2024-11-08T03:01:57.870Z] ---> Running in 4a1bcd79e8a3 [2024-11-08T03:01:57.870Z] Removing intermediate container 4a1bcd79e8a3 [2024-11-08T03:01:57.870Z] ---> b058a8b200a8 [2024-11-08T03:01:57.870Z] Step 37/37 : LABEL version=0.0.0 [2024-11-08T03:01:57.870Z] ---> Running in 7dd4a6dc3d66 [2024-11-08T03:01:57.870Z] Removing intermediate container 7dd4a6dc3d66 [2024-11-08T03:01:57.870Z] ---> a1e1383adc3a [2024-11-08T03:01:57.870Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:01:57.870Z] Successfully built a1e1383adc3a [2024-11-08T03:01:57.870Z] 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-11-08T03:01:58.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:01:58.372Z] [2024-11-08T03:01:58.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:01:58.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:01:58.675Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T03:01:58.675Z] 5eb5b503b376: Pulling fs layer [2024-11-08T03:01:58.675Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T03:01:58.675Z] ec43610c2a17: Pulling fs layer [2024-11-08T03:01:58.675Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T03:01:58.675Z] 33b1e0a273af: Pulling fs layer [2024-11-08T03:01:58.675Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T03:01:58.675Z] 2f39f015ded8: Pulling fs layer [2024-11-08T03:01:58.675Z] 33b1e0a273af: Waiting [2024-11-08T03:01:58.675Z] 3a2ae6a8a46f: Waiting [2024-11-08T03:01:58.675Z] 5d3b04190fa2: Waiting [2024-11-08T03:01:58.675Z] 2f39f015ded8: Waiting [2024-11-08T03:01:58.675Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T03:01:58.675Z] 5c69ac0246d0: Download complete [2024-11-08T03:01:58.675Z] 3a2ae6a8a46f: Download complete [2024-11-08T03:01:58.675Z] 33b1e0a273af: Verifying Checksum [2024-11-08T03:01:58.675Z] 33b1e0a273af: Download complete [2024-11-08T03:01:58.675Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T03:01:58.675Z] 5d3b04190fa2: Download complete [2024-11-08T03:01:58.675Z] ec43610c2a17: Verifying Checksum [2024-11-08T03:01:58.675Z] ec43610c2a17: Download complete [2024-11-08T03:01:58.932Z] 5eb5b503b376: Verifying Checksum [2024-11-08T03:01:58.932Z] 5eb5b503b376: Download complete [2024-11-08T03:01:59.498Z] 2f39f015ded8: Download complete [2024-11-08T03:02:00.066Z] 5eb5b503b376: Pull complete [2024-11-08T03:02:00.066Z] 5c69ac0246d0: Pull complete [2024-11-08T03:02:00.631Z] ec43610c2a17: Pull complete [2024-11-08T03:02:00.631Z] 3a2ae6a8a46f: Pull complete [2024-11-08T03:02:00.889Z] 33b1e0a273af: Pull complete [2024-11-08T03:02:00.889Z] 5d3b04190fa2: Pull complete [2024-11-08T03:02:05.084Z] 2f39f015ded8: Pull complete [2024-11-08T03:02:05.084Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T03:02:05.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:02:05.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:02:05.187Z] prd-ubuntu20.04-docker-8c-8g-24962 does not seem to be running inside a container [2024-11-08T03:02:05.217Z] $ 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-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:02:10.096Z] $ docker top 8f5594eeea5cc613b6afbd0b8f075b9c5043da790cfcd4799563138cf02ffaf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:02:10.486Z] ---> job-cost.sh [2024-11-08T03:02:10.486Z] lf-activate-venv: SKIPPING [2024-11-08T03:02:10.486Z] INFO: No Stack... [2024-11-08T03:02:10.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:02:11.001Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:02:11.289Z] + cat /w/workspace/foundry_device-usb-camera_PR-364/archives/cost.csv [2024-11-08T03:02:11.289Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:02:11.305Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] [2024-11-08T03:02:11.316Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] did not exist. Created. [2024-11-08T03:02:11.323Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:02:11.651Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T03:02:11.671Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:02:11.679Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:02:11.700Z] $ docker stop --time=1 8f5594eeea5cc613b6afbd0b8f075b9c5043da790cfcd4799563138cf02ffaf6 [2024-11-08T03:02:12.854Z] $ docker rm -f --volumes 8f5594eeea5cc613b6afbd0b8f075b9c5043da790cfcd4799563138cf02ffaf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T03:03:52.619Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24978 in /w/workspace/foundry_device-usb-camera_PR-364 [Pipeline] { [Pipeline] ws [2024-11-08T03:03:52.640Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2024-11-08T03:03:55.707Z] Selected Git installation does not exist. Using Default [2024-11-08T03:03:55.707Z] The recommended git tool is: NONE [2024-11-08T03:04:03.160Z] using credential edgex-jenkins-ssh [2024-11-08T03:04:03.192Z] Cloning the remote Git repository [2024-11-08T03:04:03.270Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-11-08T03:04:03.427Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2024-11-08T03:04:03.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-11-08T03:04:03.681Z] > git --version # timeout=10 [2024-11-08T03:04:03.716Z] > git --version # 'git version 2.25.1' [2024-11-08T03:04:03.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:04:03.954Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:04:06.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-11-08T03:04:07.009Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:04:09.034Z] Merging remotes/origin/main commit cec5fe797acd0a57918cb92b5c0815420fffe93d into PR head commit b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [2024-11-08T03:04:08.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-11-08T03:04:08.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-11-08T03:04:08.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:04:08.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T03:04:09.058Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:04:09.155Z] > git checkout -f b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 # timeout=10 [2024-11-08T03:04:09.442Z] Merge succeeded, producing b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [2024-11-08T03:04:09.443Z] Checking out Revision b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 (PR-364) [2024-11-08T03:04:09.298Z] > git remote # timeout=10 [2024-11-08T03:04:09.328Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:04:09.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:04:09.381Z] > git merge cec5fe797acd0a57918cb92b5c0815420fffe93d # timeout=10 [2024-11-08T03:04:09.415Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:04:09.449Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:04:09.468Z] > git checkout -f b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 # timeout=10 [2024-11-08T03:04:13.368Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:04:15.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:04:15.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:04:15.541Z] Dload Upload Total Spent Left Speed [2024-11-08T03:04:15.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 178k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh [2024-11-08T03:04:15.932Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:04:16.313Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T03:04:16.313Z] + sudo tee /etc/docker/daemon.new [2024-11-08T03:04:16.313Z] { [2024-11-08T03:04:16.313Z] "registry-mirrors": [ [2024-11-08T03:04:16.313Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:04:16.313Z] ], [2024-11-08T03:04:16.313Z] "bip": "10.250.0.254/24", [2024-11-08T03:04:16.313Z] "hosts": [ [2024-11-08T03:04:16.313Z] "tcp://0.0.0.0:5555", [2024-11-08T03:04:16.313Z] "unix:///var/run/docker.sock" [2024-11-08T03:04:16.313Z] ], [2024-11-08T03:04:16.313Z] "mtu": 1458, [2024-11-08T03:04:16.313Z] "selinux-enabled": true, [2024-11-08T03:04:16.313Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:04:16.313Z] } [Pipeline] sh [2024-11-08T03:04:16.696Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:04:17.078Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:04:35.484Z] provisioning config files... [2024-11-08T03:04:35.524Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config15817824205746260726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:04:36.032Z] ---> ****-login.sh [2024-11-08T03:04:36.032Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:04:36.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:04:36.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:04:36.905Z] Configure a credential helper to remove this warning. See [2024-11-08T03:04:36.905Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:04:36.905Z] [2024-11-08T03:04:36.905Z] Login Succeeded [2024-11-08T03:04:36.905Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:04:37.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:04:37.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:04:37.181Z] Configure a credential helper to remove this warning. See [2024-11-08T03:04:37.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:04:37.181Z] [2024-11-08T03:04:37.181Z] Login Succeeded [2024-11-08T03:04:37.181Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:04:37.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:04:37.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:04:37.756Z] Configure a credential helper to remove this warning. See [2024-11-08T03:04:37.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:04:37.756Z] [2024-11-08T03:04:37.756Z] Login Succeeded [2024-11-08T03:04:37.756Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:04:38.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:04:38.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:04:38.310Z] Configure a credential helper to remove this warning. See [2024-11-08T03:04:38.310Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:04:38.310Z] [2024-11-08T03:04:38.310Z] Login Succeeded [2024-11-08T03:04:38.310Z] ****.io [2024-11-08T03:04:38.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:04:38.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:04:38.861Z] Configure a credential helper to remove this warning. See [2024-11-08T03:04:38.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:04:38.861Z] [2024-11-08T03:04:38.861Z] Login Succeeded [2024-11-08T03:04:38.861Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:04:38.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:04:39.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:04:39.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:04:39.459Z] ========================================================= [2024-11-08T03:04:39.459Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:04:39.459Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:04:39.871Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T03:04:40.481Z] Sending build context to Docker daemon 10.56MB [2024-11-08T03:04:40.481Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:04:40.481Z] Step 2/13 : FROM ${BASE} AS builder [2024-11-08T03:04:40.757Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:04:40.758Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:04:40.758Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:04:40.758Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:04:40.758Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:04:40.758Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:04:40.758Z] 80978eb59214: Pulling fs layer [2024-11-08T03:04:40.758Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:04:40.758Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:04:40.758Z] 50b3750afda1: Waiting [2024-11-08T03:04:40.758Z] 4f4fb700ef54: Waiting [2024-11-08T03:04:40.758Z] 80978eb59214: Waiting [2024-11-08T03:04:40.758Z] c5a475d317c9: Waiting [2024-11-08T03:04:40.758Z] c9f46d7d2bd2: Waiting [2024-11-08T03:04:40.758Z] 55b35a11ae5e: Download complete [2024-11-08T03:04:40.758Z] 50b3750afda1: Download complete [2024-11-08T03:04:40.758Z] 4f4fb700ef54: Download complete [2024-11-08T03:04:41.040Z] 80978eb59214: Verifying Checksum [2024-11-08T03:04:41.040Z] 80978eb59214: Download complete [2024-11-08T03:04:41.040Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:04:41.040Z] cf04c63912e1: Download complete [2024-11-08T03:04:41.644Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:04:41.644Z] c5a475d317c9: Download complete [2024-11-08T03:04:42.242Z] cf04c63912e1: Pull complete [2024-11-08T03:04:42.841Z] 55b35a11ae5e: Pull complete [2024-11-08T03:04:43.434Z] a37a00ec5f00: Download complete [2024-11-08T03:04:44.034Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:04:44.034Z] c9f46d7d2bd2: Download complete [2024-11-08T03:04:59.162Z] a37a00ec5f00: Pull complete [2024-11-08T03:04:59.162Z] 50b3750afda1: Pull complete [2024-11-08T03:04:59.162Z] 4f4fb700ef54: Pull complete [2024-11-08T03:04:59.437Z] 80978eb59214: Pull complete [2024-11-08T03:05:09.629Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:05:10.224Z] c5a475d317c9: Pull complete [2024-11-08T03:05:10.224Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:05:10.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:05:10.224Z] ---> be29e6b0f0d4 [2024-11-08T03:05:10.224Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:05:12.858Z] ---> Running in ee19a220a49c [2024-11-08T03:05:12.858Z] Removing intermediate container ee19a220a49c [2024-11-08T03:05:12.858Z] ---> 5fabc2410f05 [2024-11-08T03:05:12.858Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:05:12.858Z] ---> Running in 21ca24bdad49 [2024-11-08T03:05:13.462Z] Removing intermediate container 21ca24bdad49 [2024-11-08T03:05:13.462Z] ---> f2c76d46036a [2024-11-08T03:05:13.462Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-08T03:05:13.462Z] ---> Running in 5442fbd7b9f5 [2024-11-08T03:05:13.746Z] Removing intermediate container 5442fbd7b9f5 [2024-11-08T03:05:13.746Z] ---> 6deb76b71e2a [2024-11-08T03:05:13.746Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-08T03:05:14.016Z] ---> Running in 8e261387f459 [2024-11-08T03:05:14.290Z] Removing intermediate container 8e261387f459 [2024-11-08T03:05:14.290Z] ---> 654b5f28af67 [2024-11-08T03:05:14.290Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:05:14.580Z] ---> Running in 405b08e56f53 [2024-11-08T03:05:16.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:05:16.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:05:18.966Z] (1/14) Installing libintl (0.22.5-r0) [2024-11-08T03:05:18.966Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-11-08T03:05:18.966Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-11-08T03:05:18.966Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-11-08T03:05:18.966Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-11-08T03:05:18.966Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-11-08T03:05:18.966Z] (7/14) Installing udev-init-scripts (35-r1) [2024-11-08T03:05:18.966Z] (8/14) Installing libeconf (0.6.3-r0) [2024-11-08T03:05:18.966Z] (9/14) Installing libblkid (2.40.1-r1) [2024-11-08T03:05:18.966Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-11-08T03:05:18.966Z] (11/14) Installing kmod-libs (32-r0) [2024-11-08T03:05:18.966Z] (12/14) Installing eudev (3.2.14-r2) [2024-11-08T03:05:18.966Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-11-08T03:05:18.966Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-11-08T03:05:18.966Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:05:18.966Z] Executing eudev-3.2.14-r2.trigger [2024-11-08T03:05:19.243Z] OK: 246 MiB in 68 packages [2024-11-08T03:05:20.688Z] Removing intermediate container 405b08e56f53 [2024-11-08T03:05:20.688Z] ---> c620dab73a35 [2024-11-08T03:05:20.688Z] Step 8/13 : WORKDIR /device-usb-camera [2024-11-08T03:05:20.969Z] ---> Running in de370662cfe4 [2024-11-08T03:05:21.242Z] Removing intermediate container de370662cfe4 [2024-11-08T03:05:21.242Z] ---> c169c27492e2 [2024-11-08T03:05:21.242Z] Step 9/13 : COPY go.mod vendor* ./ [2024-11-08T03:05:21.849Z] ---> 469343c66401 [2024-11-08T03:05:21.849Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:05:22.131Z] ---> Running in a35bdef4119d [2024-11-08T03:07:29.007Z] Removing intermediate container a35bdef4119d [2024-11-08T03:07:29.007Z] ---> 768d7f3ec0f1 [2024-11-08T03:07:29.007Z] Step 11/13 : COPY . . [2024-11-08T03:07:29.007Z] ---> 1f0864ff910f [2024-11-08T03:07:29.007Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-08T03:07:29.007Z] ---> Running in 9edd43f5c551 [2024-11-08T03:07:29.007Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:07:29.007Z] Dload Upload Total Spent Left Speed [2024-11-08T03:07:29.007Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5106  0 --:--:-- --:--:-- --:--:-- 5180 [2024-11-08T03:07:29.007Z] Removing intermediate container 9edd43f5c551 [2024-11-08T03:07:29.007Z] ---> 08dc26de1b85 [2024-11-08T03:07:29.007Z] Step 13/13 : RUN ${MAKE} [2024-11-08T03:07:29.007Z] ---> Running in 72556cffd792 [2024-11-08T03:07:30.455Z] noop [2024-11-08T03:07:31.074Z] Removing intermediate container 72556cffd792 [2024-11-08T03:07:31.074Z] ---> d134a077050d [2024-11-08T03:07:31.074Z] Successfully built d134a077050d [2024-11-08T03:07:31.074Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:07:31.485Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:07:31.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:07:31.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-24978 does not seem to be running inside a container [2024-11-08T03:07:31.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:07:33.484Z] $ docker top b6b7614f6771d550421c91d2eeecb78879a64cd4ddf6abbd3a68ff367766aa21 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:07:34.446Z] + go version [2024-11-08T03:07:34.446Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:07:34.468Z] $ docker stop --time=1 b6b7614f6771d550421c91d2eeecb78879a64cd4ddf6abbd3a68ff367766aa21 [2024-11-08T03:07:36.235Z] $ docker rm -f --volumes b6b7614f6771d550421c91d2eeecb78879a64cd4ddf6abbd3a68ff367766aa21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:07:36.903Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:07:36.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:07:37.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-24978 does not seem to be running inside a container [2024-11-08T03:07:37.233Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:07:38.757Z] $ docker top 16f6f51e314a800374045d7c90e6973506af55809021754a66e9943fab476486 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:07:39.723Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:07:40.434Z] + make test [2024-11-08T03:07:40.434Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T03:07:48.718Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-11-08T03:12:57.074Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-11-08T03:13:09.560Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 4.4% of statements [2024-11-08T03:13:09.841Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:13:09.841Z] go vet ./... [2024-11-08T03:14:17.931Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:14:17.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:14:17.932Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:14:17.955Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:14:17.975Z] $ docker stop --time=1 16f6f51e314a800374045d7c90e6973506af55809021754a66e9943fab476486 [2024-11-08T03:14:20.065Z] $ docker rm -f --volumes 16f6f51e314a800374045d7c90e6973506af55809021754a66e9943fab476486 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:14:22.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:14:22.025Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:14:22.748Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:14:23.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:14:23.529Z] + ls -al . [2024-11-08T03:14:23.529Z] total 284 [2024-11-08T03:14:23.529Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:07 . [2024-11-08T03:14:23.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:04 .. [2024-11-08T03:14:23.529Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:04 .git [2024-11-08T03:14:23.529Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:04 .github [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 379 Nov 8 03:04 .gitignore [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 203 Nov 8 03:04 .golangci.yml [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 8 03:04 .hadolint.yml [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 19367 Nov 8 03:04 Attribution.txt [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 16561 Nov 8 03:04 CHANGELOG.md [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 2440 Nov 8 03:04 Dockerfile [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 03:04 GOVERNANCE.md [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 8 03:04 Jenkinsfile [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 03:04 LICENSE [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 3193 Nov 8 03:04 Makefile [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 03:04 OWNERS.md [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 2575 Nov 8 03:04 README.md [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:58 VERSION [2024-11-08T03:14:23.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:04 bin [2024-11-08T03:14:23.529Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:04 cmd [2024-11-08T03:14:23.529Z] -rw-r--r-- 1 jenkins jenkins 54772 Nov 8 03:13 coverage.out [2024-11-08T03:14:23.529Z] -rwxrwxr-x 1 jenkins jenkins 84 Nov 8 03:04 docker-entrypoint.sh [2024-11-08T03:14:23.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:04 docs [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 6515 Nov 8 03:04 go.mod [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 88539 Nov 8 03:04 go.sum [2024-11-08T03:14:23.529Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:04 internal [2024-11-08T03:14:23.529Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 8 03:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:14:23.913Z] + 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=b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:14:24.524Z] Sending build context to Docker daemon 10.62MB [2024-11-08T03:14:24.524Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:14:24.524Z] Step 2/37 : FROM ${BASE} AS builder [2024-11-08T03:14:24.524Z] ---> d134a077050d [2024-11-08T03:14:24.524Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-11-08T03:14:24.800Z] ---> Running in 22f0f8feab7e [2024-11-08T03:14:25.085Z] Removing intermediate container 22f0f8feab7e [2024-11-08T03:14:25.085Z] ---> 97c7ee6cb271 [2024-11-08T03:14:25.085Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T03:14:25.358Z] ---> Running in fe066c846f73 [2024-11-08T03:14:25.629Z] Removing intermediate container fe066c846f73 [2024-11-08T03:14:25.629Z] ---> 80ee0f1a8c67 [2024-11-08T03:14:25.629Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-11-08T03:14:25.901Z] ---> Running in 914fdf003341 [2024-11-08T03:14:26.188Z] Removing intermediate container 914fdf003341 [2024-11-08T03:14:26.188Z] ---> a514b37308c2 [2024-11-08T03:14:26.188Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-11-08T03:14:26.461Z] ---> Running in 557b528178dd [2024-11-08T03:14:26.729Z] Removing intermediate container 557b528178dd [2024-11-08T03:14:26.729Z] ---> 0213436c226a [2024-11-08T03:14:26.729Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T03:14:26.729Z] ---> Running in 88b24e86c364 [2024-11-08T03:14:28.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:28.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:14:30.406Z] OK: 246 MiB in 68 packages [2024-11-08T03:14:31.391Z] Removing intermediate container 88b24e86c364 [2024-11-08T03:14:31.391Z] ---> 646d43109262 [2024-11-08T03:14:31.391Z] Step 8/37 : WORKDIR /device-usb-camera [2024-11-08T03:14:31.664Z] ---> Running in ff57adf2b16c [2024-11-08T03:14:31.933Z] Removing intermediate container ff57adf2b16c [2024-11-08T03:14:31.933Z] ---> b1568bccd229 [2024-11-08T03:14:31.933Z] Step 9/37 : COPY go.mod vendor* ./ [2024-11-08T03:14:32.521Z] ---> 266b9ded5602 [2024-11-08T03:14:32.521Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:14:32.790Z] ---> Running in 9bcdfd8ecf70 [2024-11-08T03:14:36.161Z] Removing intermediate container 9bcdfd8ecf70 [2024-11-08T03:14:36.161Z] ---> 97e8a7b2e63e [2024-11-08T03:14:36.161Z] Step 11/37 : COPY . . [2024-11-08T03:14:37.591Z] ---> 397a77eac253 [2024-11-08T03:14:37.591Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-11-08T03:14:37.866Z] ---> Running in c23b24067717 [2024-11-08T03:14:39.283Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:14:39.283Z] Dload Upload Total Spent Left Speed [2024-11-08T03:14:39.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5538 0 --:--:-- --:--:-- --:--:-- 5679 [2024-11-08T03:14:40.266Z] Removing intermediate container c23b24067717 [2024-11-08T03:14:40.266Z] ---> b240bc955c93 [2024-11-08T03:14:40.266Z] Step 13/37 : RUN ${MAKE} [2024-11-08T03:14:40.266Z] ---> Running in 085b6fb9bec3 [2024-11-08T03:14:41.685Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-11-08T03:19:04.052Z] Removing intermediate container 085b6fb9bec3 [2024-11-08T03:19:04.052Z] ---> 62614d12701e [2024-11-08T03:19:04.052Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-11-08T03:19:04.637Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-11-08T03:19:04.637Z] da4d7e05a7aa: Pulling fs layer [2024-11-08T03:19:05.223Z] da4d7e05a7aa: Verifying Checksum [2024-11-08T03:19:05.223Z] da4d7e05a7aa: Download complete [2024-11-08T03:19:06.196Z] da4d7e05a7aa: Pull complete [2024-11-08T03:19:06.196Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-11-08T03:19:06.196Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-11-08T03:19:06.196Z] ---> 62c65ed7ef0d [2024-11-08T03:19:06.196Z] Step 15/37 : FROM alpine:3.20 [2024-11-08T03:19:06.462Z] 3.20: Pulling from library/alpine [2024-11-08T03:19:06.732Z] cf04c63912e1: Already exists [2024-11-08T03:19:06.732Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:19:06.732Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:19:06.732Z] ---> c157a85ed455 [2024-11-08T03:19:06.732Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-11-08T03:19:06.998Z] ---> Running in 22deeb1477fc [2024-11-08T03:19:07.267Z] Removing intermediate container 22deeb1477fc [2024-11-08T03:19:07.267Z] ---> 850d8935b1b0 [2024-11-08T03:19:07.267Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-11-08T03:19:07.535Z] ---> Running in 5f7679e29d0d [2024-11-08T03:19:08.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:19:08.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:19:10.708Z] (1/114) Installing dumb-init (1.2.5-r3) [2024-11-08T03:19:10.708Z] (2/114) Installing libSvtAv1Enc (2.0.0-r1) [2024-11-08T03:19:10.708Z] (3/114) Installing aom-libs (3.9.1-r0) [2024-11-08T03:19:10.976Z] (4/114) Installing libxau (1.0.11-r4) [2024-11-08T03:19:10.976Z] (5/114) Installing libmd (1.1.0-r0) [2024-11-08T03:19:10.976Z] (6/114) Installing libbsd (0.12.2-r0) [2024-11-08T03:19:10.976Z] (7/114) Installing libxdmcp (1.1.5-r1) [2024-11-08T03:19:10.976Z] (8/114) Installing libxcb (1.16.1-r0) [2024-11-08T03:19:10.976Z] (9/114) Installing libx11 (1.8.9-r1) [2024-11-08T03:19:11.246Z] (10/114) Installing hwdata-pci (0.382-r0) [2024-11-08T03:19:11.246Z] (11/114) Installing libpciaccess (0.18.1-r0) [2024-11-08T03:19:11.246Z] (12/114) Installing libdrm (2.4.120-r0) [2024-11-08T03:19:11.246Z] (13/114) Installing libxext (1.3.6-r2) [2024-11-08T03:19:11.246Z] (14/114) Installing libxfixes (6.0.1-r4) [2024-11-08T03:19:11.246Z] (15/114) Installing libffi (3.4.6-r0) [2024-11-08T03:19:11.246Z] (16/114) Installing wayland-libs-client (1.22.0-r4) [2024-11-08T03:19:11.246Z] (17/114) Installing libva (2.21.0-r0) [2024-11-08T03:19:11.246Z] (18/114) Installing libvdpau (1.5-r3) [2024-11-08T03:19:11.246Z] (19/114) Installing ffmpeg-libavutil (6.1.1-r8) [2024-11-08T03:19:11.246Z] (20/114) Installing libdav1d (1.4.2-r0) [2024-11-08T03:19:11.246Z] (21/114) Installing libgcc (13.2.1_git20240309-r0) [2024-11-08T03:19:11.246Z] (22/114) Installing libstdc++ (13.2.1_git20240309-r0) [2024-11-08T03:19:11.246Z] (23/114) Installing openexr-libiex (3.1.13-r1) [2024-11-08T03:19:11.515Z] (24/114) Installing openexr-libilmthread (3.1.13-r1) [2024-11-08T03:19:11.515Z] (25/114) Installing imath (3.1.12-r0) [2024-11-08T03:19:11.515Z] (26/114) Installing openexr-libopenexr (3.1.13-r1) [2024-11-08T03:19:11.515Z] (27/114) Installing brotli-libs (1.1.0-r2) [2024-11-08T03:19:11.515Z] (28/114) Installing giflib (5.2.2-r0) [2024-11-08T03:19:11.515Z] (29/114) Installing libhwy (1.0.7-r0) [2024-11-08T03:19:11.515Z] (30/114) Installing libjpeg-turbo (3.0.3-r0) [2024-11-08T03:19:11.515Z] (31/114) Installing lcms2 (2.16-r0) [2024-11-08T03:19:11.515Z] (32/114) Installing libpng (1.6.44-r0) [2024-11-08T03:19:11.515Z] (33/114) Installing libjxl (0.10.2-r0) [2024-11-08T03:19:11.515Z] (34/114) Installing lame-libs (3.100-r5) [2024-11-08T03:19:11.792Z] (35/114) Installing opus (1.5.2-r0) [2024-11-08T03:19:11.792Z] (36/114) Installing rav1e-libs (0.7.1-r0) [2024-11-08T03:19:11.792Z] (37/114) Installing libgomp (13.2.1_git20240309-r0) [2024-11-08T03:19:11.792Z] (38/114) Installing soxr (0.1.3-r7) [2024-11-08T03:19:11.792Z] (39/114) Installing ffmpeg-libswresample (6.1.1-r8) [2024-11-08T03:19:11.792Z] (40/114) Installing libogg (1.3.5-r5) [2024-11-08T03:19:11.792Z] (41/114) Installing libtheora (1.1.1-r18) [2024-11-08T03:19:11.792Z] (42/114) Installing libvorbis (1.3.7-r2) [2024-11-08T03:19:11.792Z] (43/114) Installing libvpx (1.14.1-r0) [2024-11-08T03:19:11.792Z] (44/114) Installing libsharpyuv (1.3.2-r0) [2024-11-08T03:19:11.792Z] (45/114) Installing libwebp (1.3.2-r0) [2024-11-08T03:19:11.792Z] (46/114) Installing libwebpmux (1.3.2-r0) [2024-11-08T03:19:11.792Z] (47/114) Installing x264-libs (0.164_git20231001-r0) [2024-11-08T03:19:12.062Z] (48/114) Installing numactl (2.0.18-r0) [2024-11-08T03:19:12.062Z] (49/114) Installing x265-libs (3.6-r0) [2024-11-08T03:19:12.062Z] (50/114) Installing xvidcore (1.3.7-r2) [2024-11-08T03:19:12.062Z] (51/114) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-11-08T03:19:12.648Z] (52/114) Installing sdl2 (2.28.5-r1) [2024-11-08T03:19:12.648Z] (53/114) Installing alsa-lib (1.2.11-r0) [2024-11-08T03:19:12.648Z] (54/114) Installing libexpat (2.6.3-r0) [2024-11-08T03:19:12.648Z] (55/114) Installing libbz2 (1.0.8-r6) [2024-11-08T03:19:12.648Z] (56/114) Installing freetype (2.13.2-r0) [2024-11-08T03:19:12.648Z] (57/114) Installing fontconfig (2.15.0-r1) [2024-11-08T03:19:12.648Z] (58/114) Installing fribidi (1.0.15-r0) [2024-11-08T03:19:12.648Z] (59/114) Installing libintl (0.22.5-r0) [2024-11-08T03:19:12.648Z] (60/114) Installing libeconf (0.6.3-r0) [2024-11-08T03:19:12.648Z] (61/114) Installing libblkid (2.40.1-r1) [2024-11-08T03:19:12.916Z] (62/114) Installing libmount (2.40.1-r1) [2024-11-08T03:19:12.916Z] (63/114) Installing pcre2 (10.43-r0) [2024-11-08T03:19:12.916Z] (64/114) Installing glib (2.80.5-r0) [2024-11-08T03:19:12.916Z] (65/114) Installing graphite2 (1.3.14-r6) [2024-11-08T03:19:12.916Z] (66/114) Installing harfbuzz (8.5.0-r0) [2024-11-08T03:19:13.184Z] (67/114) Installing libunibreak (6.1-r0) [2024-11-08T03:19:13.184Z] (68/114) Installing libass (0.17.2-r0) [2024-11-08T03:19:13.184Z] (69/114) Installing libbluray (1.3.4-r1) [2024-11-08T03:19:13.184Z] (70/114) Installing mpg123-libs (1.32.8-r0) [2024-11-08T03:19:13.184Z] (71/114) Installing libopenmpt (0.7.7-r0) [2024-11-08T03:19:13.184Z] (72/114) Installing cjson (1.7.18-r0) [2024-11-08T03:19:13.184Z] (73/114) Installing mbedtls (3.6.2-r0) [2024-11-08T03:19:13.184Z] (74/114) Installing librist (0.2.10-r1) [2024-11-08T03:19:13.184Z] (75/114) Installing libsrt (1.5.3-r0) [2024-11-08T03:19:13.184Z] (76/114) Installing libssh (0.10.6-r0) [2024-11-08T03:19:13.184Z] (77/114) Installing xz-libs (5.6.2-r0) [2024-11-08T03:19:13.184Z] (78/114) Installing libxml2 (2.12.7-r0) [2024-11-08T03:19:13.453Z] (79/114) Installing libsodium (1.0.19-r0) [2024-11-08T03:19:13.453Z] (80/114) Installing libzmq (4.3.5-r2) [2024-11-08T03:19:13.453Z] (81/114) Installing ffmpeg-libavformat (6.1.1-r8) [2024-11-08T03:19:13.453Z] (82/114) Installing serd-libs (0.32.2-r0) [2024-11-08T03:19:13.453Z] (83/114) Installing zix-libs (0.4.2-r0) [2024-11-08T03:19:13.453Z] (84/114) Installing sord-libs (0.16.16-r0) [2024-11-08T03:19:13.453Z] (85/114) Installing sratom (0.6.16-r0) [2024-11-08T03:19:13.453Z] (86/114) Installing lilv-libs (0.24.24-r1) [2024-11-08T03:19:13.453Z] (87/114) Installing glslang-libs (1.3.261.1-r0) [2024-11-08T03:19:13.453Z] (88/114) Installing libdovi (3.3.0-r0) [2024-11-08T03:19:13.723Z] (89/114) Installing spirv-tools (1.3.261.1-r0) [2024-11-08T03:19:13.723Z] (90/114) Installing shaderc (2024.0-r0) [2024-11-08T03:19:13.723Z] (91/114) Installing vulkan-loader (1.3.261.1-r0) [2024-11-08T03:19:13.723Z] (92/114) Installing libplacebo (6.338.2-r1) [2024-11-08T03:19:13.723Z] (93/114) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-11-08T03:19:13.723Z] (94/114) Installing ffmpeg-libswscale (6.1.1-r8) [2024-11-08T03:19:13.723Z] (95/114) Installing vidstab (1.1.1-r0) [2024-11-08T03:19:13.723Z] (96/114) Installing zimg (3.0.5-r2) [2024-11-08T03:19:13.991Z] (97/114) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-11-08T03:19:13.992Z] (98/114) Installing libasyncns (0.8-r3) [2024-11-08T03:19:13.992Z] (99/114) Installing dbus-libs (1.14.10-r1) [2024-11-08T03:19:13.992Z] (100/114) Installing libltdl (2.4.7-r3) [2024-11-08T03:19:13.992Z] (101/114) Installing orc (0.4.40-r0) [2024-11-08T03:19:13.992Z] (102/114) Installing libflac (1.4.3-r1) [2024-11-08T03:19:13.992Z] (103/114) Installing libsndfile (1.2.2-r0) [2024-11-08T03:19:13.992Z] (104/114) Installing speexdsp (1.2.1-r2) [2024-11-08T03:19:13.992Z] (105/114) Installing tdb-libs (1.4.9-r1) [2024-11-08T03:19:13.992Z] (106/114) Installing libpulse (17.0-r0) [2024-11-08T03:19:14.265Z] (107/114) Installing v4l-utils-libs (1.24.1-r1) [2024-11-08T03:19:14.265Z] (108/114) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-11-08T03:19:14.265Z] (109/114) Installing ffmpeg (6.1.1-r8) [2024-11-08T03:19:14.265Z] (110/114) Installing udev-init-scripts (35-r1) [2024-11-08T03:19:14.265Z] (111/114) Installing eudev-libs (3.2.14-r2) [2024-11-08T03:19:14.265Z] (112/114) Installing zstd-libs (1.5.6-r0) [2024-11-08T03:19:14.265Z] (113/114) Installing kmod-libs (32-r0) [2024-11-08T03:19:14.265Z] (114/114) Installing eudev (3.2.14-r2) [2024-11-08T03:19:14.265Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:19:14.265Z] Executing glib-2.80.5-r0.trigger [2024-11-08T03:19:14.265Z] Executing eudev-3.2.14-r2.trigger [2024-11-08T03:19:14.265Z] OK: 120 MiB in 128 packages [2024-11-08T03:19:19.622Z] Removing intermediate container 5f7679e29d0d [2024-11-08T03:19:19.622Z] ---> f3fea6f43b04 [2024-11-08T03:19:19.622Z] Step 18/37 : RUN apk --no-cache upgrade [2024-11-08T03:19:19.622Z] ---> Running in fb61e9ef47f2 [2024-11-08T03:19:19.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:19:20.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:19:21.882Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:19:21.882Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:19:21.882Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:19:22.150Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:19:22.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:19:22.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:19:23.834Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:19:24.105Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:19:24.105Z] OK: 120 MiB in 128 packages [2024-11-08T03:19:25.557Z] Removing intermediate container fb61e9ef47f2 [2024-11-08T03:19:25.557Z] ---> 2f1ae1cf12ac [2024-11-08T03:19:25.557Z] Step 19/37 : WORKDIR / [2024-11-08T03:19:25.557Z] ---> Running in d15b322c5135 [2024-11-08T03:19:25.831Z] Removing intermediate container d15b322c5135 [2024-11-08T03:19:25.831Z] ---> 78041b9f58bb [2024-11-08T03:19:25.831Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-11-08T03:19:28.423Z] ---> 4aeb32b8c5fb [2024-11-08T03:19:28.423Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-11-08T03:19:29.009Z] ---> eb069e305dc2 [2024-11-08T03:19:29.009Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-11-08T03:19:29.597Z] ---> 34d05a3c473e [2024-11-08T03:19:29.597Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-11-08T03:19:30.178Z] ---> 761251a015a8 [2024-11-08T03:19:30.178Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-11-08T03:19:30.760Z] ---> 317ad6929fe2 [2024-11-08T03:19:30.760Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-11-08T03:19:31.342Z] ---> 07dbe3dce75c [2024-11-08T03:19:31.342Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-11-08T03:19:33.285Z] ---> b565b6334d8f [2024-11-08T03:19:33.285Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-11-08T03:19:33.285Z] ---> Running in 650ffaf7f5f5 [2024-11-08T03:19:34.705Z] Removing intermediate container 650ffaf7f5f5 [2024-11-08T03:19:34.705Z] ---> dd3e3af224c2 [2024-11-08T03:19:34.705Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-11-08T03:19:34.978Z] ---> Running in 733e901cea0e [2024-11-08T03:19:36.926Z] Removing intermediate container 733e901cea0e [2024-11-08T03:19:36.926Z] ---> 56593f5b2364 [2024-11-08T03:19:36.926Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-11-08T03:19:36.926Z] ---> Running in 49f4bf5522e9 [2024-11-08T03:19:38.328Z] Removing intermediate container 49f4bf5522e9 [2024-11-08T03:19:38.328Z] ---> 2ff05edf6b56 [2024-11-08T03:19:38.328Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-11-08T03:19:38.328Z] ---> Running in 3f4835bf24c0 [2024-11-08T03:19:40.269Z] Removing intermediate container 3f4835bf24c0 [2024-11-08T03:19:40.269Z] ---> ec7baae3e254 [2024-11-08T03:19:40.269Z] Step 31/37 : EXPOSE 59983 [2024-11-08T03:19:40.269Z] ---> Running in c9f8dc7716b2 [2024-11-08T03:19:40.269Z] Removing intermediate container c9f8dc7716b2 [2024-11-08T03:19:40.269Z] ---> a5bf896ae43d [2024-11-08T03:19:40.269Z] Step 32/37 : EXPOSE 8554 [2024-11-08T03:19:40.269Z] ---> Running in 7c5871fb1f36 [2024-11-08T03:19:40.534Z] Removing intermediate container 7c5871fb1f36 [2024-11-08T03:19:40.534Z] ---> 5b33536ce06a [2024-11-08T03:19:40.534Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-11-08T03:19:40.799Z] ---> Running in 5ce1dc88a209 [2024-11-08T03:19:41.064Z] Removing intermediate container 5ce1dc88a209 [2024-11-08T03:19:41.064Z] ---> f9adcff6f008 [2024-11-08T03:19:41.064Z] Step 34/37 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry" ] [2024-11-08T03:19:41.064Z] ---> Running in 024d531085a5 [2024-11-08T03:19:41.330Z] Removing intermediate container 024d531085a5 [2024-11-08T03:19:41.330Z] ---> 66140b92474b [2024-11-08T03:19:41.330Z] Step 35/37 : LABEL arch=arm64 [2024-11-08T03:19:41.598Z] ---> Running in d3bd13bfb8cd [2024-11-08T03:19:41.864Z] Removing intermediate container d3bd13bfb8cd [2024-11-08T03:19:41.864Z] ---> 4cb740dbacf4 [2024-11-08T03:19:41.864Z] Step 36/37 : LABEL git_sha=b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [2024-11-08T03:19:41.864Z] ---> Running in 47b064a2af1b [2024-11-08T03:19:42.129Z] Removing intermediate container 47b064a2af1b [2024-11-08T03:19:42.129Z] ---> 7196a0b8964e [2024-11-08T03:19:42.129Z] Step 37/37 : LABEL version=0.0.0 [2024-11-08T03:19:42.129Z] ---> Running in a18b5959c9b1 [2024-11-08T03:19:42.396Z] Removing intermediate container a18b5959c9b1 [2024-11-08T03:19:42.396Z] ---> 5f1ae0789a08 [2024-11-08T03:19:42.396Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:19:42.396Z] Successfully built 5f1ae0789a08 [2024-11-08T03:19:42.396Z] 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-11-08T03:19:43.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:19:43.153Z] [2024-11-08T03:19:43.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:19:43.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:19:43.491Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:19:43.491Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:19:43.491Z] 04944245beec: Pulling fs layer [2024-11-08T03:19:43.491Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:19:43.491Z] 765212b225bb: Pulling fs layer [2024-11-08T03:19:43.491Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:19:43.491Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:19:43.491Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:19:43.491Z] 765212b225bb: Waiting [2024-11-08T03:19:43.491Z] f23df028b6ca: Waiting [2024-11-08T03:19:43.491Z] d65c8cfc05b1: Waiting [2024-11-08T03:19:43.491Z] 2437ff75d9bd: Waiting [2024-11-08T03:19:43.759Z] 04944245beec: Verifying Checksum [2024-11-08T03:19:43.759Z] 04944245beec: Download complete [2024-11-08T03:19:43.759Z] 765212b225bb: Download complete [2024-11-08T03:19:43.759Z] f23df028b6ca: Verifying Checksum [2024-11-08T03:19:43.759Z] f23df028b6ca: Download complete [2024-11-08T03:19:43.759Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:19:43.759Z] d65c8cfc05b1: Download complete [2024-11-08T03:19:44.026Z] 699f458cf7ca: Verifying Checksum [2024-11-08T03:19:44.026Z] 699f458cf7ca: Download complete [2024-11-08T03:19:44.616Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:19:44.616Z] 8998bd30e6a1: Download complete [2024-11-08T03:19:47.188Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:19:47.188Z] 2437ff75d9bd: Download complete [2024-11-08T03:19:49.779Z] 8998bd30e6a1: Pull complete [2024-11-08T03:19:50.047Z] 04944245beec: Pull complete [2024-11-08T03:19:51.993Z] 699f458cf7ca: Pull complete [2024-11-08T03:19:51.993Z] 765212b225bb: Pull complete [2024-11-08T03:19:52.956Z] f23df028b6ca: Pull complete [2024-11-08T03:19:52.956Z] d65c8cfc05b1: Pull complete [2024-11-08T03:20:11.165Z] 2437ff75d9bd: Pull complete [2024-11-08T03:20:11.165Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:20:11.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:20:11.165Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:20:11.377Z] prd-ubuntu20.04-docker-arm64-4c-16g-24978 does not seem to be running inside a container [2024-11-08T03:20:11.428Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:20:14.364Z] $ docker top 893a5c68036939cd2c431eece9366365eac3b66f2332fd2a09b7f7000daf2821 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:15.281Z] ---> job-cost.sh [2024-11-08T03:20:15.281Z] lf-activate-venv: SKIPPING [2024-11-08T03:20:15.281Z] INFO: No Stack... [2024-11-08T03:20:15.868Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:20:16.831Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:20:17.599Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2024-11-08T03:20:17.599Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:20:17.703Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] [2024-11-08T03:20:17.712Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] did not exist. Created. [2024-11-08T03:20:17.719Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:20:18.421Z] /w/workspace/device-usb-camera/2@tmp/durable-b5416b8c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:20:19.121Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:20:19.166Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:20:19.240Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:20:19.248Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-364-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:20:19.269Z] $ docker stop --time=1 893a5c68036939cd2c431eece9366365eac3b66f2332fd2a09b7f7000daf2821 [2024-11-08T03:20:20.859Z] $ docker rm -f --volumes 893a5c68036939cd2c431eece9366365eac3b66f2332fd2a09b7f7000daf2821 [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-11-08T03:20:21.381Z] provisioning config files... [2024-11-08T03:20:21.390Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config4756784242000394052tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:20:21.693Z] + set +x [2024-11-08T03:20:21.693Z] + + curl -sbash https://codecov.io/bash -s [2024-11-08T03:20:21.693Z] -- [2024-11-08T03:20:21.693Z] [2024-11-08T03:20:21.694Z] _____ _ [2024-11-08T03:20:21.694Z] / ____| | | [2024-11-08T03:20:21.694Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:20:21.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:20:21.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:20:21.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:20:21.694Z] Bash-1.0.6 [2024-11-08T03:20:21.694Z] [2024-11-08T03:20:21.694Z] [2024-11-08T03:20:21.694Z] ==> git version 2.25.1 found [2024-11-08T03:20:21.694Z] ==> 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-11-08T03:20:21.694Z] Release-Date: 2020-01-08 [2024-11-08T03:20:21.694Z] 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-11-08T03:20:21.694Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:20:21.694Z] ==> Jenkins CI detected. [2024-11-08T03:20:21.694Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-364 [2024-11-08T03:20:21.694Z] project root: . [2024-11-08T03:20:21.694Z] --> token set from env [2024-11-08T03:20:21.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:20:21.694Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:20:21.694Z] ==> Python coveragepy not found [2024-11-08T03:20:21.694Z] ==> Searching for coverage reports in: [2024-11-08T03:20:21.694Z] + . [2024-11-08T03:20:21.694Z] -> Found 1 reports [2024-11-08T03:20:21.694Z] ==> Detecting git/mercurial file structure [2024-11-08T03:20:21.694Z] ==> Reading reports [2024-11-08T03:20:21.694Z] + ./coverage.out bytes=54772 [2024-11-08T03:20:21.955Z] ==> Appending adjustments [2024-11-08T03:20:21.955Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:20:21.955Z] + Found adjustments [2024-11-08T03:20:21.955Z] ==> Gzipping contents [2024-11-08T03:20:21.955Z] 8.0K /tmp/codecov.v1A8gT.gz [2024-11-08T03:20:21.955Z] ==> Uploading reports [2024-11-08T03:20:21.955Z] url: https://codecov.io [2024-11-08T03:20:21.955Z] query: branch=PR-364&commit=b5d676e8a6843cf9a3cc18782c7c5b0a2db22662&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-364%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=364&job=&cmd_args= [2024-11-08T03:20:21.955Z] -> Pinging Codecov [2024-11-08T03:20:21.955Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-364&commit=b5d676e8a6843cf9a3cc18782c7c5b0a2db22662&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-364%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=364&job=&cmd_args= [2024-11-08T03:20:22.215Z] -> Uploading to [2024-11-08T03:20:22.216Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-usb-camera/b5d676e8a6843cf9a3cc18782c7c5b0a2db22662/94a12719-5f38-4e4e-9696-6930897fc55c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T032021Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=433c0443aea20f2c1efb1b0b59a14cfaa9796b933b2b6427b72785cebc96dfb8 [2024-11-08T03:20:22.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:20:22.216Z] Dload Upload Total Spent Left Speed [2024-11-08T03:20:22.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6816 0 0 100 6816 0 30159 --:--:-- --:--:-- --:--:-- 30026 [2024-11-08T03:20:22.477Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b5d676e8a6843cf9a3cc18782c7c5b0a2db22662 [Pipeline] } [2024-11-08T03:20:22.484Z] 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-11-08T03:20:23.379Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-364/archives ] [2024-11-08T03:20:23.379Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-364/archives [2024-11-08T03:20:23.379Z] total 16 [2024-11-08T03:20:23.379Z] drwxr-xr-x 3 root root 4096 Nov 8 03:02 . [2024-11-08T03:20:23.379Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:02 .. [2024-11-08T03:20:23.379Z] drwxr-xr-x 2 root root 4096 Nov 8 03:02 cost [2024-11-08T03:20:23.379Z] -rw-r--r-- 1 root root 89 Nov 8 03:02 cost.csv [2024-11-08T03:20:23.379Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-364/archives [2024-11-08T03:20:23.379Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-364/archives [2024-11-08T03:20:23.379Z] total 16 [2024-11-08T03:20:23.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:02 . [2024-11-08T03:20:23.379Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:02 .. [2024-11-08T03:20:23.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:02 cost [2024-11-08T03:20:23.379Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 8 03:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:23.674Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:24.534Z] ---> package-listing.sh [2024-11-08T03:20:24.534Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:20:24.534Z] ++ facter osfamily [2024-11-08T03:20:24.795Z] + OS_FAMILY=debian [2024-11-08T03:20:24.795Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-364 [2024-11-08T03:20:24.795Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:20:24.795Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:20:24.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:20:24.795Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:20:24.795Z] + '[' /w/workspace/foundry_device-usb-camera_PR-364 ']' [2024-11-08T03:20:24.795Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:20:24.795Z] + case "${OS_FAMILY}" in [2024-11-08T03:20:24.795Z] + dpkg -l [2024-11-08T03:20:24.795Z] + grep '^ii' [2024-11-08T03:20:24.795Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:20:24.795Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:20:24.795Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:20:24.795Z] + '[' /w/workspace/foundry_device-usb-camera_PR-364 ']' [2024-11-08T03:20:24.795Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-364/archives/ [2024-11-08T03:20:24.795Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-364/archives/ [Pipeline] echo [2024-11-08T03:20:24.807Z] 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-364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T03:20:25.093Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:20:25.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:20:25.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:20:25.747Z] prd-ubuntu20.04-docker-8c-8g-24962 does not seem to be running inside a container [2024-11-08T03:20:25.869Z] $ 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-364/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-364 -v /w/workspace/foundry_device-usb-camera_PR-364:/w/workspace/foundry_device-usb-camera_PR-364:rw,z -v /w/workspace/foundry_device-usb-camera_PR-364@tmp:/w/workspace/foundry_device-usb-camera_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:20:26.082Z] $ docker top 4b31992ca440b27b25cbfc980609c32695f96a71986f914860d94d83fddd7bd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:20:26.479Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:20:26.800Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:20:27.096Z] + ls /var/log/sa-host [2024-11-08T03:20:27.096Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:20:27.169Z] provisioning config files... [2024-11-08T03:20:27.178Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-364@tmp/config14916750514043799471tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:20:27.195Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:27.481Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:20:27.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:27.818Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:20:27.829Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:28.112Z] ---> sudo-logs.sh [2024-11-08T03:20:28.112Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:20:28.140Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:28.424Z] ---> job-cost.sh [2024-11-08T03:20:28.424Z] lf-activate-venv: SKIPPING [2024-11-08T03:20:28.424Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:20:28.424Z] INFO: Retrieving Stack Cost... [2024-11-08T03:20:28.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:20:29.251Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:20:29.265Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:20:29.546Z] ---> logs-deploy.sh [2024-11-08T03:20:29.546Z] lf-activate-venv: SKIPPING [2024-11-08T03:20:29.546Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-364/2 [2024-11-08T03:20:29.546Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:20:30.485Z] Archives upload complete. [2024-11-08T03:20:30.745Z] INFO: archiving logs to Nexus