Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'], chrootPath='/var/lib/mock/f39-build-1852515-42293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701216000 Wrote: /builddir/build/SRPMS/python-azure-identity-1.10.0-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'], chrootPath='/var/lib/mock/f39-build-1852515-42293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701216000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wJ0UdP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf azure-identity-1.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/azure-identity-1.10.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd azure-identity-1.10.0 + rm -rf /builddir/build/BUILD/azure-identity-1.10.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/azure-identity-1.10.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.7xVQxJ + umask 022 + cd /builddir/build/BUILD + cd azure-identity-1.10.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir --output /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-azure-identity-1.10.0-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'], chrootPath='/var/lib/mock/f39-build-1852515-42293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701216000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pJmi6w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf azure-identity-1.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/azure-identity-1.10.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd azure-identity-1.10.0 + rm -rf /builddir/build/BUILD/azure-identity-1.10.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/azure-identity-1.10.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.bsxBaC + umask 022 + cd /builddir/build/BUILD + cd azure-identity-1.10.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir --output /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.40.0) running egg_info creating azure_identity.egg-info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt writing manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) running dist_info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/azure-identity-1.10.0/azure_identity-1.10.0.dist-info' Handling azure-core (<2.0.0,>=1.11.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: azure-core (<2.0.0,>=1.11.0) (installed: azure-core 1.28.0) Handling cryptography (>=2.5) from hook generated metadata: Requires-Dist (azure-identity) Requirement not satisfied: cryptography (>=2.5) Handling msal (<2.0.0,>=1.12.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement not satisfied: msal (<2.0.0,>=1.12.0) Handling msal-extensions (<2.0.0,>=0.3.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement not satisfied: msal-extensions (<2.0.0,>=0.3.0) Handling six (>=1.12.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: six (>=1.12.0) (installed: six 1.16.0) + cat /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires + rm -rfv azure_identity-1.10.0.dist-info/ removed 'azure_identity-1.10.0.dist-info/LICENSE' removed 'azure_identity-1.10.0.dist-info/top_level.txt' removed 'azure_identity-1.10.0.dist-info/METADATA' removed directory 'azure_identity-1.10.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-azure-identity-1.10.0-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'], chrootPath='/var/lib/mock/f39-build-1852515-42293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701216000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tQZsNp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf azure-identity-1.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/azure-identity-1.10.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd azure-identity-1.10.0 + rm -rf /builddir/build/BUILD/azure-identity-1.10.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/azure-identity-1.10.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4qMamn + umask 022 + cd /builddir/build/BUILD + cd azure-identity-1.10.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir --output /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.40.0) running egg_info creating azure_identity.egg-info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt writing manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) running dist_info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/azure-identity-1.10.0/azure_identity-1.10.0.dist-info' Handling azure-core (<2.0.0,>=1.11.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: azure-core (<2.0.0,>=1.11.0) (installed: azure-core 1.28.0) Handling cryptography (>=2.5) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: cryptography (>=2.5) (installed: cryptography 41.0.5) Handling msal (<2.0.0,>=1.12.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: msal (<2.0.0,>=1.12.0) (installed: msal 1.25.0) Handling msal-extensions (<2.0.0,>=0.3.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: msal-extensions (<2.0.0,>=0.3.0) (installed: msal-extensions 1.0.0) Handling six (>=1.12.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: six (>=1.12.0) (installed: six 1.16.0) + cat /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires + rm -rfv azure_identity-1.10.0.dist-info/ removed 'azure_identity-1.10.0.dist-info/LICENSE' removed 'azure_identity-1.10.0.dist-info/top_level.txt' removed 'azure_identity-1.10.0.dist-info/METADATA' removed directory 'azure_identity-1.10.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-azure-identity-1.10.0-1.fc39.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'], chrootPath='/var/lib/mock/f39-build-1852515-42293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1701216000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fc11v6 + umask 022 + cd /builddir/build/BUILD + cd azure-identity-1.10.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir --output /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 67.7.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.40.0) running egg_info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) running dist_info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/azure-identity-1.10.0/azure_identity-1.10.0.dist-info' Handling azure-core (<2.0.0,>=1.11.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: azure-core (<2.0.0,>=1.11.0) (installed: azure-core 1.28.0) Handling cryptography (>=2.5) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: cryptography (>=2.5) (installed: cryptography 41.0.5) Handling msal (<2.0.0,>=1.12.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: msal (<2.0.0,>=1.12.0) (installed: msal 1.25.0) Handling msal-extensions (<2.0.0,>=0.3.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: msal-extensions (<2.0.0,>=0.3.0) (installed: msal-extensions 1.0.0) Handling six (>=1.12.0) from hook generated metadata: Requires-Dist (azure-identity) Requirement satisfied: six (>=1.12.0) (installed: six 1.16.0) + cat /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-buildrequires + rm -rfv azure_identity-1.10.0.dist-info/ removed 'azure_identity-1.10.0.dist-info/LICENSE' removed 'azure_identity-1.10.0.dist-info/top_level.txt' removed 'azure_identity-1.10.0.dist-info/METADATA' removed directory 'azure_identity-1.10.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.suDyvN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd azure-identity-1.10.0 + mkdir -p /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir Processing /builddir/build/BUILD/azure-identity-1.10.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info writing /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-modern-metadata-p7dajj7_/azure_identity-1.10.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: azure-identity Building wheel for azure-identity (pyproject.toml): started Running command Building wheel for azure-identity (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/azure creating build/lib/azure/identity copying azure/identity/_exceptions.py -> build/lib/azure/identity copying azure/identity/_constants.py -> build/lib/azure/identity copying azure/identity/_version.py -> build/lib/azure/identity copying azure/identity/_enums.py -> build/lib/azure/identity copying azure/identity/_persistent_cache.py -> build/lib/azure/identity copying azure/identity/_auth_record.py -> build/lib/azure/identity copying azure/identity/__init__.py -> build/lib/azure/identity creating build/lib/azure/identity/aio copying azure/identity/aio/__init__.py -> build/lib/azure/identity/aio creating build/lib/azure/identity/_credentials copying azure/identity/_credentials/azure_powershell.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/managed_identity.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/application.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/silent.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/imds.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/token_exchange.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/azure_arc.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/azure_ml.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/service_fabric.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/client_secret.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/chained.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/vscode.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/certificate.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/cloud_shell.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/app_service.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/user_password.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/default.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/browser.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/client_assertion.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/authorization_code.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/__init__.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/device_code.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/azure_cli.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/on_behalf_of.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/shared_cache.py -> build/lib/azure/identity/_credentials copying azure/identity/_credentials/environment.py -> build/lib/azure/identity/_credentials creating build/lib/azure/identity/_internal copying azure/identity/_internal/msal_credentials.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/get_token_mixin.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/pipeline.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/managed_identity_client.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/linux_vscode_adapter.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/msal_client.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/win_vscode_adapter.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/client_credential_base.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/managed_identity_base.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/aad_client_base.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/shared_token_cache.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/auth_code_redirect_handler.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/aad_client.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/user_agent.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/__init__.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/macos_vscode_adapter.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/interactive.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/aadclient_certificate.py -> build/lib/azure/identity/_internal copying azure/identity/_internal/decorators.py -> build/lib/azure/identity/_internal creating build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/azure_powershell.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/managed_identity.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/application.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/imds.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/token_exchange.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/azure_arc.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/azure_ml.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/service_fabric.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/client_secret.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/chained.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/vscode.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/certificate.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/cloud_shell.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/app_service.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/default.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/client_assertion.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/authorization_code.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/__init__.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/azure_cli.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/on_behalf_of.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/shared_cache.py -> build/lib/azure/identity/aio/_credentials copying azure/identity/aio/_credentials/environment.py -> build/lib/azure/identity/aio/_credentials creating build/lib/azure/identity/aio/_internal copying azure/identity/aio/_internal/get_token_mixin.py -> build/lib/azure/identity/aio/_internal copying azure/identity/aio/_internal/managed_identity_client.py -> build/lib/azure/identity/aio/_internal copying azure/identity/aio/_internal/managed_identity_base.py -> build/lib/azure/identity/aio/_internal copying azure/identity/aio/_internal/aad_client.py -> build/lib/azure/identity/aio/_internal copying azure/identity/aio/_internal/__init__.py -> build/lib/azure/identity/aio/_internal copying azure/identity/aio/_internal/decorators.py -> build/lib/azure/identity/aio/_internal running egg_info writing azure_identity.egg-info/PKG-INFO writing dependency_links to azure_identity.egg-info/dependency_links.txt writing requirements to azure_identity.egg-info/requires.txt writing top-level names to azure_identity.egg-info/top_level.txt reading manifest file 'azure_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'azure_identity.egg-info/SOURCES.txt' copying azure/identity/py.typed -> build/lib/azure/identity installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/azure creating build/bdist.linux-riscv64/wheel/azure/identity copying build/lib/azure/identity/_exceptions.py -> build/bdist.linux-riscv64/wheel/azure/identity creating build/bdist.linux-riscv64/wheel/azure/identity/aio creating build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/azure_powershell.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/managed_identity.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/application.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/imds.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/token_exchange.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/azure_arc.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/azure_ml.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/service_fabric.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/client_secret.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/chained.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/vscode.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/certificate.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/cloud_shell.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/app_service.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/default.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/client_assertion.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/authorization_code.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/__init__.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/azure_cli.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/on_behalf_of.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/shared_cache.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials copying build/lib/azure/identity/aio/_credentials/environment.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_credentials creating build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/_internal/get_token_mixin.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/_internal/managed_identity_client.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/_internal/managed_identity_base.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/_internal/aad_client.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/_internal/__init__.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/_internal/decorators.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio/_internal copying build/lib/azure/identity/aio/__init__.py -> build/bdist.linux-riscv64/wheel/azure/identity/aio creating build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/azure_powershell.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/managed_identity.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/application.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/silent.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/imds.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/token_exchange.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/azure_arc.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/azure_ml.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/service_fabric.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/client_secret.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/chained.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/vscode.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/certificate.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/cloud_shell.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/app_service.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/user_password.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/default.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/browser.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/client_assertion.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/authorization_code.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/__init__.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/device_code.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/azure_cli.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/on_behalf_of.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/shared_cache.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_credentials/environment.py -> build/bdist.linux-riscv64/wheel/azure/identity/_credentials copying build/lib/azure/identity/_constants.py -> build/bdist.linux-riscv64/wheel/azure/identity creating build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/msal_credentials.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/get_token_mixin.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/pipeline.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/managed_identity_client.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/linux_vscode_adapter.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/msal_client.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/win_vscode_adapter.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/client_credential_base.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/managed_identity_base.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/aad_client_base.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/shared_token_cache.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/auth_code_redirect_handler.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/aad_client.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/user_agent.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/__init__.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/macos_vscode_adapter.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/interactive.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/aadclient_certificate.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_internal/decorators.py -> build/bdist.linux-riscv64/wheel/azure/identity/_internal copying build/lib/azure/identity/_version.py -> build/bdist.linux-riscv64/wheel/azure/identity copying build/lib/azure/identity/_enums.py -> build/bdist.linux-riscv64/wheel/azure/identity copying build/lib/azure/identity/_persistent_cache.py -> build/bdist.linux-riscv64/wheel/azure/identity copying build/lib/azure/identity/py.typed -> build/bdist.linux-riscv64/wheel/azure/identity copying build/lib/azure/identity/_auth_record.py -> build/bdist.linux-riscv64/wheel/azure/identity copying build/lib/azure/identity/__init__.py -> build/bdist.linux-riscv64/wheel/azure/identity running install_egg_info Copying azure_identity.egg-info to build/bdist.linux-riscv64/wheel/azure_identity-1.10.0-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/azure_identity-1.10.0.dist-info/WHEEL creating '/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir/pip-wheel-tudylf_h/.tmp-pc5p9uqj/azure_identity-1.10.0-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'azure/identity/__init__.py' adding 'azure/identity/_auth_record.py' adding 'azure/identity/_constants.py' adding 'azure/identity/_enums.py' adding 'azure/identity/_exceptions.py' adding 'azure/identity/_persistent_cache.py' adding 'azure/identity/_version.py' adding 'azure/identity/py.typed' adding 'azure/identity/_credentials/__init__.py' adding 'azure/identity/_credentials/app_service.py' adding 'azure/identity/_credentials/application.py' adding 'azure/identity/_credentials/authorization_code.py' adding 'azure/identity/_credentials/azure_arc.py' adding 'azure/identity/_credentials/azure_cli.py' adding 'azure/identity/_credentials/azure_ml.py' adding 'azure/identity/_credentials/azure_powershell.py' adding 'azure/identity/_credentials/browser.py' adding 'azure/identity/_credentials/certificate.py' adding 'azure/identity/_credentials/chained.py' adding 'azure/identity/_credentials/client_assertion.py' adding 'azure/identity/_credentials/client_secret.py' adding 'azure/identity/_credentials/cloud_shell.py' adding 'azure/identity/_credentials/default.py' adding 'azure/identity/_credentials/device_code.py' adding 'azure/identity/_credentials/environment.py' adding 'azure/identity/_credentials/imds.py' adding 'azure/identity/_credentials/managed_identity.py' adding 'azure/identity/_credentials/on_behalf_of.py' adding 'azure/identity/_credentials/service_fabric.py' adding 'azure/identity/_credentials/shared_cache.py' adding 'azure/identity/_credentials/silent.py' adding 'azure/identity/_credentials/token_exchange.py' adding 'azure/identity/_credentials/user_password.py' adding 'azure/identity/_credentials/vscode.py' adding 'azure/identity/_internal/__init__.py' adding 'azure/identity/_internal/aad_client.py' adding 'azure/identity/_internal/aad_client_base.py' adding 'azure/identity/_internal/aadclient_certificate.py' adding 'azure/identity/_internal/auth_code_redirect_handler.py' adding 'azure/identity/_internal/client_credential_base.py' adding 'azure/identity/_internal/decorators.py' adding 'azure/identity/_internal/get_token_mixin.py' adding 'azure/identity/_internal/interactive.py' adding 'azure/identity/_internal/linux_vscode_adapter.py' adding 'azure/identity/_internal/macos_vscode_adapter.py' adding 'azure/identity/_internal/managed_identity_base.py' adding 'azure/identity/_internal/managed_identity_client.py' adding 'azure/identity/_internal/msal_client.py' adding 'azure/identity/_internal/msal_credentials.py' adding 'azure/identity/_internal/pipeline.py' adding 'azure/identity/_internal/shared_token_cache.py' adding 'azure/identity/_internal/user_agent.py' adding 'azure/identity/_internal/win_vscode_adapter.py' adding 'azure/identity/aio/__init__.py' adding 'azure/identity/aio/_credentials/__init__.py' adding 'azure/identity/aio/_credentials/app_service.py' adding 'azure/identity/aio/_credentials/application.py' adding 'azure/identity/aio/_credentials/authorization_code.py' adding 'azure/identity/aio/_credentials/azure_arc.py' adding 'azure/identity/aio/_credentials/azure_cli.py' adding 'azure/identity/aio/_credentials/azure_ml.py' adding 'azure/identity/aio/_credentials/azure_powershell.py' adding 'azure/identity/aio/_credentials/certificate.py' adding 'azure/identity/aio/_credentials/chained.py' adding 'azure/identity/aio/_credentials/client_assertion.py' adding 'azure/identity/aio/_credentials/client_secret.py' adding 'azure/identity/aio/_credentials/cloud_shell.py' adding 'azure/identity/aio/_credentials/default.py' adding 'azure/identity/aio/_credentials/environment.py' adding 'azure/identity/aio/_credentials/imds.py' adding 'azure/identity/aio/_credentials/managed_identity.py' adding 'azure/identity/aio/_credentials/on_behalf_of.py' adding 'azure/identity/aio/_credentials/service_fabric.py' adding 'azure/identity/aio/_credentials/shared_cache.py' adding 'azure/identity/aio/_credentials/token_exchange.py' adding 'azure/identity/aio/_credentials/vscode.py' adding 'azure/identity/aio/_internal/__init__.py' adding 'azure/identity/aio/_internal/aad_client.py' adding 'azure/identity/aio/_internal/decorators.py' adding 'azure/identity/aio/_internal/get_token_mixin.py' adding 'azure/identity/aio/_internal/managed_identity_base.py' adding 'azure/identity/aio/_internal/managed_identity_client.py' adding 'azure_identity-1.10.0.dist-info/LICENSE' adding 'azure_identity-1.10.0.dist-info/METADATA' adding 'azure_identity-1.10.0.dist-info/WHEEL' adding 'azure_identity-1.10.0.dist-info/top_level.txt' adding 'azure_identity-1.10.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for azure-identity (pyproject.toml): finished with status 'done' Created wheel for azure-identity: filename=azure_identity-1.10.0-py3-none-any.whl size=134125 sha256=82fbdbe8e780c8f98263438bf05944469cc6a1633fd4052c49c19c4cc6c0cdf8 Stored in directory: /builddir/.cache/pip/wheels/06/32/c6/2f1d05e58771f4300089576003b1472d67007e32b5d533aab4 Successfully built azure-identity + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hfoH6d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch ++ dirname /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd azure-identity-1.10.0 ++ ls /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir/azure_identity-1.10.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=azure_identity==1.10.0 + TMPDIR=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir azure_identity==1.10.0 Using pip 23.2.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/azure-identity-1.10.0/pyproject-wheeldir Processing ./pyproject-wheeldir/azure_identity-1.10.0-py3-none-any.whl Installing collected packages: azure_identity Successfully installed azure_identity-1.10.0 + '[' -d /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch --record /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info/RECORD --output /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages/azure_identity-1.10.0.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-record --prefix /usr azure + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.10.0-1.fc39 --unique-debug-suffix -1.10.0-1.fc39.noarch --unique-debug-src-base python-azure-identity-1.10.0-1.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/azure-identity-1.10.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RZeiJT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd azure-identity-1.10.0 + '[' '!' -f /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-modules ']' + PATH=/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages + _PYTHONSITE=/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/python-azure-identity-1.10.0-1.fc39.noarch-pyproject-modules Check import: azure Check import: azure.identity Check import: azure.identity.aio + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-azure-identity-1.10.0-1.fc39.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/azure-identity-1.10.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -k 'not test_timeout and not test_persistent_cache_linux' ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.2.0 rootdir: /builddir/build/BUILD/azure-identity-1.10.0 plugins: asyncio-0.21.0 asyncio: mode=Mode.STRICT collected 746 items / 7 deselected / 739 selected tests/test_aad_client.py .s.......... [ 1%] tests/test_aad_client_async.py .s.......... [ 3%] tests/test_app_service.py .... [ 3%] tests/test_app_service_async.py .... [ 4%] tests/test_application_credential.py ..... [ 5%] tests/test_application_credential_async.py ..... [ 5%] tests/test_auth_code.py ....... [ 6%] tests/test_auth_code_async.py ......... [ 7%] tests/test_auth_record.py ... [ 8%] tests/test_authority.py .. [ 8%] tests/test_azure_application.py . [ 8%] tests/test_azure_application_async.py . [ 8%] tests/test_browser_credential.py s................. [ 11%] tests/test_cae.py sss [ 11%] tests/test_certificate_credential.py ...FFF......................FFFFFF. [ 16%] ............ [ 17%] tests/test_certificate_credential_async.py ............................. [ 21%] ....................... [ 25%] tests/test_chained_credential.py ...... [ 25%] tests/test_chained_token_credential_async.py ...... [ 26%] tests/test_cli_credential.py .......................... [ 30%] tests/test_cli_credential_async.py ....s........................ [ 34%] tests/test_client_secret_credential.py ..FFF....F.s. [ 35%] tests/test_client_secret_credential_async.py .............s. [ 37%] tests/test_context_manager.py ................................ [ 42%] tests/test_default.py ............... [ 44%] tests/test_default_async.py ........... [ 45%] tests/test_device_code_credential.py .......... [ 47%] tests/test_environment_credential.py ....... [ 48%] tests/test_environment_credential_async.py .......... [ 49%] tests/test_get_token_mixin.py ....... [ 50%] tests/test_get_token_mixin_async.py ....... [ 51%] tests/test_imds_credential.py ............ [ 52%] tests/test_imds_credential_async.py .............. [ 54%] tests/test_interactive_credential.py .................. [ 57%] tests/test_live.py ssssss [ 58%] tests/test_live_async.py ssss [ 58%] tests/test_managed_identity.py ......................................... [ 64%] .......... [ 65%] tests/test_managed_identity_async.py ................................... [ 70%] ............... [ 72%] tests/test_managed_identity_client.py ..... [ 72%] tests/test_managed_identity_client_async.py ....... [ 73%] tests/test_msal_client.py .. [ 74%] tests/test_obo.py .......... [ 75%] tests/test_obo_async.py .............. [ 77%] tests/test_persistent_cache.py . [ 77%] tests/test_powershell_credential.py ................... [ 80%] tests/test_powershell_credential_async.py ................ss.. [ 82%] tests/test_shared_cache_credential.py .................................. [ 87%] ....... [ 88%] tests/test_shared_cache_credential_async.py ............................ [ 92%] .... [ 92%] tests/test_username_password_credential.py ......... [ 93%] tests/test_vscode_credential.py ..................... [ 96%] tests/test_vscode_credential_async.py .................... [ 99%] tests/managed-identity-live/test_cloud_shell.py s [ 99%] tests/managed-identity-live/test_cloud_shell_async.py s [ 99%] tests/managed-identity-live/test_managed_identity_live.py s [ 99%] tests/managed-identity-live/test_managed_identity_live_async.py s [100%] =================================== FAILURES =================================== __________________________ test_policies_configurable __________________________ def test_policies_configurable(): policy = Mock(spec_set=SansIOHTTPPolicy, on_request=Mock()) transport = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token="**"))] ) credential = CertificateCredential( "tenant-id", "client-id", PEM_CERT_PATH, policies=[ContentDecodePolicy(), policy], transport=transport ) > credential.get_token("scope") tests/test_certificate_credential.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253678 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError _______________________________ test_user_agent ________________________________ def test_user_agent(): transport = msal_validating_transport( requests=[Request(required_headers={"User-Agent": USER_AGENT})], responses=[mock_response(json_payload=build_aad_response(access_token="**"))], ) credential = CertificateCredential("tenant-id", "client-id", PEM_CERT_PATH, transport=transport) > credential.get_token("scope") tests/test_certificate_credential.py:108: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253686 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant-id/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' ________________________________ test_tenant_id ________________________________ def test_tenant_id(): transport = msal_validating_transport( requests=[Request(required_headers={"User-Agent": USER_AGENT})], responses=[mock_response(json_payload=build_aad_response(access_token="**"))], ) credential = CertificateCredential("tenant-id", "client-id", PEM_CERT_PATH, transport=transport) > credential.get_token("scope", tenant_id="tenant_id") tests/test_certificate_credential.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {'tenant_id': 'tenant_id'} app = request_time = 1701253690 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.identity._internal:__init__.py:82 A token was requested for a different tenant than was configured on the credential, and the requested tenant ID was used to authenticate. Configured tenant ID: tenant-id, Requested tenant ID tenant_id INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant_id/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.identity._internal:__init__.py:82 A token was requested for a different tenant than was configured on the credential, and the requested tenant ID was used to authenticate. Configured tenant ID: tenant-id, Requested tenant ID tenant_id INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _ test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate.pem-None] _ cert_path = '/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate.pem' cert_password = None @pytest.mark.parametrize("cert_path,cert_password", ALL_CERTS) def test_persistent_cache_multiple_clients(cert_path, cert_password): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = CertificateCredential( "tenant", "client-a", cert_path, password=cert_password, transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = CertificateCredential( "tenant", "client-b", cert_path, password=cert_password, transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_certificate_credential.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253914 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _ test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pem-password0] _ cert_path = '/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pem' cert_password = 'password' @pytest.mark.parametrize("cert_path,cert_password", ALL_CERTS) def test_persistent_cache_multiple_clients(cert_path, cert_password): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = CertificateCredential( "tenant", "client-a", cert_path, password=cert_password, transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = CertificateCredential( "tenant", "client-b", cert_path, password=cert_password, transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_certificate_credential.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253922 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _ test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pem-password1] _ cert_path = '/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pem' cert_password = b'password' @pytest.mark.parametrize("cert_path,cert_password", ALL_CERTS) def test_persistent_cache_multiple_clients(cert_path, cert_password): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = CertificateCredential( "tenant", "client-a", cert_path, password=cert_password, transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = CertificateCredential( "tenant", "client-b", cert_path, password=cert_password, transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_certificate_credential.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253927 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _ test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate.pfx-None] _ cert_path = '/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate.pfx' cert_password = None @pytest.mark.parametrize("cert_path,cert_password", ALL_CERTS) def test_persistent_cache_multiple_clients(cert_path, cert_password): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = CertificateCredential( "tenant", "client-a", cert_path, password=cert_password, transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = CertificateCredential( "tenant", "client-b", cert_path, password=cert_password, transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_certificate_credential.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253931 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _ test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pfx-password0] _ cert_path = '/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pfx' cert_password = 'password' @pytest.mark.parametrize("cert_path,cert_password", ALL_CERTS) def test_persistent_cache_multiple_clients(cert_path, cert_password): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = CertificateCredential( "tenant", "client-a", cert_path, password=cert_password, transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = CertificateCredential( "tenant", "client-b", cert_path, password=cert_password, transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_certificate_credential.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253937 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _ test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pfx-password1] _ cert_path = '/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pfx' cert_password = b'password' @pytest.mark.parametrize("cert_path,cert_password", ALL_CERTS) def test_persistent_cache_multiple_clients(cert_path, cert_password): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = CertificateCredential( "tenant", "client-a", cert_path, password=cert_password, transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = CertificateCredential( "tenant", "client-b", cert_path, password=cert_password, transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_certificate_credential.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701253942 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' __________________________ test_policies_configurable __________________________ def test_policies_configurable(): policy = Mock(spec_set=SansIOHTTPPolicy, on_request=Mock()) transport = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token="**"))] ) credential = ClientSecretCredential( "tenant-id", "client-id", "client-secret", policies=[ContentDecodePolicy(), policy], transport=transport ) > credential.get_token("scope") tests/test_client_secret_credential.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701254295 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError _______________________________ test_user_agent ________________________________ def test_user_agent(): transport = msal_validating_transport( requests=[Request(required_headers={"User-Agent": USER_AGENT})], responses=[mock_response(json_payload=build_aad_response(access_token="**"))], ) credential = ClientSecretCredential("tenant-id", "client-id", "client-secret", transport=transport) > credential.get_token("scope") tests/test_client_secret_credential.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701254296 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant-id/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' ________________________ test_client_secret_credential _________________________ def test_client_secret_credential(): client_id = "fake-client-id" secret = "fake-client-secret" tenant_id = "fake-tenant-id" access_token = "***" transport = msal_validating_transport( endpoint="https://localhost/" + tenant_id, requests=[Request(url_substring=tenant_id, required_data={"client_id": client_id, "client_secret": secret})], responses=[mock_response(json_payload=build_aad_response(access_token=access_token))], ) > token = ClientSecretCredential(tenant_id, client_id, secret, transport=transport).get_token("scope") tests/test_client_secret_credential.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701254296 result = {'authorization_endpoint': 'https://localhost/fake-tenant-id/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'ten...auth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://localhost/fake-tenant-id/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/fake-tenant-id/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://localhost/fake-tenant-id/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' _________________________ test_cache_multiple_clients __________________________ def test_cache_multiple_clients(): """the credential shouldn't use tokens issued to other service principals""" access_token_a = "token a" access_token_b = "not " + access_token_a transport_a = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_a))] ) transport_b = msal_validating_transport( requests=[Request()], responses=[mock_response(json_payload=build_aad_response(access_token=access_token_b))] ) cache = TokenCache() with patch("azure.identity._internal.msal_credentials._load_persistent_cache") as mock_cache_loader: mock_cache_loader.return_value = Mock(wraps=cache) credential_a = ClientSecretCredential( "tenant", "client-a", "secret", transport=transport_a, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 1, "credential should load the persistent cache" credential_b = ClientSecretCredential( "tenant", "client-b", "secret", transport=transport_b, cache_persistence_options=TokenCachePersistenceOptions(), ) assert mock_cache_loader.call_count == 2, "credential should load the persistent cache" # A caches a token scope = "scope" > token_a = credential_a.get_token(scope) tests/test_client_secret_credential.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ azure/identity/_internal/get_token_mixin.py:76: in get_token token = self._request_token(*scopes, **kwargs) azure/identity/_internal/decorators.py:74: in wrapper return fn(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scopes = ('scope',), kwargs = {} app = request_time = 1701254297 result = {'authorization_endpoint': 'https://a/b/oauth2/v2.0/authorization_endpoint', 'metadata': '', 'tenant_discovery_endpoint': 'https://a/b/oauth2/v2.0/tenant_discovery_endpoint', 'token_endpoint': 'https://a/b/oauth2/v2.0/token_endpoint'} message = 'Authentication failed: None' @wrap_exceptions def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> Optional[AccessToken] app = self._get_app(**kwargs) request_time = int(time.time()) result = app.acquire_token_for_client(list(scopes)) if "access_token" not in result: message = "Authentication failed: {}".format(result.get("error_description") or result.get("error")) > raise ClientAuthenticationError(message=message) E azure.core.exceptions.ClientAuthenticationError: Authentication failed: None azure/identity/_internal/client_credential_base.py:40: ClientAuthenticationError ------------------------------ Captured log call ------------------------------- INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:514 Request URL: 'https://login.microsoftonline.com/tenant/v2.0/.well-known/openid-configuration' Request method: 'GET' Request headers: 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' No body was attached to the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:511 Request URL: 'https://a/b/oauth2/v2.0/token_endpoint' Request method: 'POST' Request headers: 'Accept': 'application/json' 'x-client-sku': 'REDACTED' 'x-client-ver': 'REDACTED' 'x-client-os': 'REDACTED' 'x-ms-lib-capability': 'REDACTED' 'client-request-id': 'REDACTED' 'x-client-current-telemetry': 'REDACTED' 'x-client-last-telemetry': 'REDACTED' 'User-Agent': 'azsdk-python-identity/1.10.0 Python/3.12.0 (Linux-6.5.0-0.rc4.30.5.riscv64.fc38.riscv64-riscv64-with-glibc2.38)' A body is sent with the request INFO azure.core.pipeline.policies.http_logging_policy:_universal.py:550 Response status: 200 Response headers: 'content-type': 'application/json' =============================== warnings summary =============================== ../../../../usr/lib64/python3.12/site-packages/aiohttp/cookiejar.py:57 /usr/lib64/python3.12/site-packages/aiohttp/cookiejar.py:57: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). MAX_32BIT_TIME = datetime.datetime.utcfromtimestamp(2**31 - 1) tests/test_device_code_credential.py::test_authenticate tests/test_device_code_credential.py::test_policies_configurable tests/test_device_code_credential.py::test_user_agent tests/test_device_code_credential.py::test_device_code_credential tests/test_device_code_credential.py::test_tenant_id /builddir/build/BUILD/azure-identity-1.10.0/azure/identity/_credentials/device_code.py:82: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). flow["verification_uri"], flow["user_code"], datetime.utcfromtimestamp(flow["expires_at"]) tests/test_device_code_credential.py::test_device_code_credential /builddir/build/BUILD/azure-identity-1.10.0/tests/test_device_code_credential.py:213: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.datetime.utcnow() tests/test_device_code_credential.py::test_tenant_id /builddir/build/BUILD/azure-identity-1.10.0/tests/test_device_code_credential.py:269: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.datetime.utcnow() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_certificate_credential.py::test_policies_configurable - azu... FAILED tests/test_certificate_credential.py::test_user_agent - azure.core.exc... FAILED tests/test_certificate_credential.py::test_tenant_id - azure.core.exce... FAILED tests/test_certificate_credential.py::test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate.pem-None] FAILED tests/test_certificate_credential.py::test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pem-password0] FAILED tests/test_certificate_credential.py::test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pem-password1] FAILED tests/test_certificate_credential.py::test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate.pfx-None] FAILED tests/test_certificate_credential.py::test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pfx-password0] FAILED tests/test_certificate_credential.py::test_persistent_cache_multiple_clients[/builddir/build/BUILD/azure-identity-1.10.0/tests/certificate-with-password.pfx-password1] FAILED tests/test_client_secret_credential.py::test_policies_configurable - a... FAILED tests/test_client_secret_credential.py::test_user_agent - azure.core.e... FAILED tests/test_client_secret_credential.py::test_client_secret_credential FAILED tests/test_client_secret_credential.py::test_cache_multiple_clients - ... = 13 failed, 701 passed, 25 skipped, 7 deselected, 8 warnings in 762.65s (0:12:42) = error: Bad exit status from /var/tmp/rpm-tmp.RZeiJT (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RZeiJT (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-azure-identity.spec