+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra -m 'not network' ============================= test session starts ============================== platform linux -- Python 3.8.16, pytest-7.2.2, pluggy-1.0.0 rootdir: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6, configfile: pytest.ini, testpaths: tests plugins: timeout-2.1.0, xdist-3.2.0 timeout: 30.0s timeout method: thread timeout func_only: False gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I gw0 [1188] / gw1 [1188] / gw2 [1188] / gw3 [1188] / gw4 [1188] / gw5 [1188] / gw6 [1188] / gw7 [1188] ........................................................................ [ 5%] ........................................................................ [ 12%] ........................................................................ [ 18%] .......................sss.............................................. [ 24%] ......................................................................... [ 30%] ........................................................................ [ 36%] ........................................................................ [ 42%] ........................................................................ [ 48%] ........................................................................ [ 54%] ........................................................................ [ 60%] .............................s............s.............s......sss...... [ 66%] s...............s....................................[gw3] node down: Not properly terminated F replacing crashed worker gw3 .....[gw1] node down: Not properly terminated F replacing crashed worker gw1 ..F.........................FF....FFF.FFF...F.........................FF [ 77%] ...F..F.FF..........................F.....F............................. [ 83%] ........................................................................ [ 89%] ........................................................................ [ 95%] ............[gw6] node down: Not properly terminated F replacing crashed worker gw6 ...........s......s.s............. =================================== FAILURES =================================== __________________________ tests/debugpy/test_run.py ___________________________ [gw3] linux -- Python 3.8.16 /usr/bin/python3 worker 'gw3' crashed while running 'tests/debugpy/test_run.py::test_nodebug[module-launch(console=integratedTerminal)]' _________________________ tests/debugpy/test_gevent.py _________________________ [gw1] linux -- Python 3.8.16 /usr/bin/python3 worker 'gw1' crashed while running 'tests/debugpy/test_gevent.py::test_gevent[program-launch]' _ test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] _ [gw8] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f5eced34e50> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0') run = launch(console=externalTerminal) target = , python_key = 'pythonPath' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.239: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/tests-82302.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.006: Spawning watchdog-82302 for tests-82302: '/usr/bin/python3' '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/watchdog/worker.py' '82302' D+00.096: watchdog-82302 --> ['watchdog', None] I+00.096: Starting Session[1] I+00.098: Listening for incoming connection from BackChannel[1] on port 42393... I+00.098: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py" in Session[1] using "externalTerminal". I+00.099: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]" I+00.099: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "42393" } I+00.106: Spawned Adapter[1] with PID=82578 D+00.107: watchdog-82302 <-- ['register_spawn', 82578, 'Adapter[1]'] D+00.108: watchdog-82302 --> ['ok'] D+00.108: Starting message loop for channel Adapter[1] I+00.109: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.197: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.198: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.202: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.203: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.203: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.204: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.206: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.206: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.207: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.208: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "49561", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0" } } I+00.209: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "49561", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "42393", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/Session[1]/adapter_endpoints" } I+00.217: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=82651 D+00.218: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-82302 <-- ['register_spawn', 82651, 'Debuggee[1]'] D+00.218: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-82302 --> ['ok'] I+00.218: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.219: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.219: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.758: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.760: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.761: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.761: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} D+00.805: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.806: Incoming connection from BackChannel[1] accepted. I+00.808: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.808: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.809: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.812: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.812: Waiting for next {..., "type": "event", "event": "process", ...} D+00.814: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 82689, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } I+00.817: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.818: BackChannel[1] --> [0, 1] I+00.819: Ending Session[1]. D+00.820: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.825: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.831: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.831: Killing Adapter[1]. I+00.831: Killing Debuggee[1]. D+00.832: Closing Adapter[1] message stream D+00.834: Exiting message loop for channel Adapter[1]: No more messages I+00.834: Waiting for Adapter[1] to close listener ports ... I+00.834: Waiting for Adapter[1] with PID=82578 to exit. D+00.835: watchdog-82302 <-- ['unregister_spawn', 82578, 'Adapter[1]'] D+00.835: watchdog-82302 --> ['ok'] D+00.835: Closing BackChannel[1] client socket... D+00.835: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.908: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] passed. E+00.909: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] failed. I+00.910: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-82578.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.025: Listening for incoming Client connections on 127.0.0.1:43683... I+00000.025: Connecting to client over stdio... D+00000.026: Starting message loop for channel Client[1] D+00000.026: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.032: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.033: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.033: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.033: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.036: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.036: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:53439... I+00000.037: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:49561... I+00000.037: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.037: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "49561", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0" } } D+00000.049: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.131: Accepted incoming Launcher connection from 127.0.0.1:38956. D+00000.131: Starting message loop for channel Launcher[1] D+00000.132: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "port": 53439, "adapterAccessToken": "99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215" } } D+00000.137: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 82689, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } D+00000.138: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.139: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.139: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.408: Accepted incoming Server connection from 127.0.0.1:43258. D+00000.409: Starting message loop for channel Server[?] D+00000.410: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.411: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215" } } D+00000.411: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.454: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 82693, "ppid": 82689, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.454: No active debug session for parent process of Server[pid=82693]. I+00000.455: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=82693] to Session[1] I+00000.455: /handling #2 request "launch" from Client[1]/ Launcher reported PID=82689, but server reported PID=82693 D+00000.456: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.497: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215" } } D+00000.498: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.541: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 82693 } } } D+00000.542: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.543: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "isOutputRedirected": false } } D+00000.584: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "systemProcessId": 82693, "isLocalProcess": true, "startMethod": "launch" } } D+00000.585: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.586: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.587: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.590: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.591: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.633: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.634: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.635: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.635: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.635: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.635: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 82689, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } I+00000.635: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.636: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.637: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.638: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.638: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-82653.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '49561', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py'] I+00000.024: Connecting to adapter at 127.0.0.1:49561 D+00000.025: Starting message loop for channel Adapter D+00000.026: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "port": 53439, "adapterAccessToken": "99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215" } } I+00000.027: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:53439', '--configure-qt', 'none', '--adapter-access-token', '99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw8', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '42393', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.030: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=82689]. D+00000.031: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 82689, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } D+00000.032: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.557: Exiting message loop for channel Adapter: No more messages D+00000.557: Closing Adapter message stream I+00000.558: /handling disconnect from Adapter/ Killing Debuggee[PID=82689] I+00000.558: Killing Debuggee[PID=82689] I+00000.558: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.82693.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:53439 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 82693, "ppid": 82689, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 82693}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "externalTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh" ], "pythonArgs": [], "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/custompy.sh", "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py", "systemProcessId": 82693, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-82693.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.010: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.012: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:53439', '--configure-qt', 'none', '--adapter-access-token', '99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 53439), **{'access_token': '99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 53439, 'client_access_token': '99c0bfaaae96171193891bddda45df667d2ed980903b68caf391301c10378215', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.226: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.226: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra0/code_to_debug.py' I+00000.238: Connecting backchannel-1 to port 42393... D+00000.242: backchannel <-- [0, 1] I+00.911: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)]/tests-82302.log" anymore. _ test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] _ [gw8] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f5ecec96f70> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4') run = launch(console=internalConsole) target = , python_key = 'pythonPath' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [1, 1] == [True, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.607: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/tests-82302.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 48923... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py" in Session[1] using "internalConsole". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "48923" } I+00.011: Spawned Adapter[1] with PID=83863 D+00.012: watchdog-82302 <-- ['register_spawn', 83863, 'Adapter[1]'] D+00.012: watchdog-82302 --> ['ok'] D+00.012: Starting message loop for channel Adapter[1] I+00.013: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.100: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.102: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.104: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.104: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.105: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.106: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.107: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.108: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.108: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.757: Adapter[1] --> { "seq": 4, "type": "event", "event": "initialized" } I+00.759: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 4, "type": "event", "event": "initialized"} D+00.759: Adapter[1] <-- { "seq": 3, "type": "request", "command": "configurationDone" } I+00.760: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} I+00.800: Incoming connection from BackChannel[1] accepted. D+00.804: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } I+00.806: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} == {"seq": 5, "type": "response", "command": "configurationDone", "request_seq": 3} I+00.807: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.808: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.810: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 6, "type": "response", "command": "launch", "request_seq": 2} I+00.810: Waiting for next {..., "type": "event", "event": "process", ...} D+00.812: Adapter[1] --> { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83896, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } I+00.814: Realized ({"seq": 4, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 7, "type": "event", "event": "process"} D+00.816: Adapter[1] --> { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.816: BackChannel[1] --> [1, 1] I+00.818: Ending Session[1]. D+00.820: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.821: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [1, 1] == [True, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.821: Killing Adapter[1]. D+00.822: Closing Adapter[1] message stream D+00.825: Exiting message loop for channel Adapter[1]: No more messages I+00.825: Waiting for Adapter[1] with PID=83863 to exit. D+00.826: watchdog-82302 <-- ['unregister_spawn', 83863, 'Adapter[1]'] D+00.827: watchdog-82302 --> ['ok'] D+00.827: Closing BackChannel[1] client socket... D+00.827: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.861: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] passed. E+00.862: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] failed. I+00.863: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-83863.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.023: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:41443... I+00000.024: Connecting to client over stdio... D+00000.025: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.030: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.031: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.031: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.031: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.034: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.034: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:59061... I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:53351... I+00000.035: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '53351', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py'] I+00000.121: Accepted incoming Launcher connection from 127.0.0.1:43782. D+00000.122: Starting message loop for channel Launcher[1] D+00000.123: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "port": 59061, "adapterAccessToken": "67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c" } } D+00000.129: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83896, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } D+00000.131: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.132: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.133: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.506: Accepted incoming Server connection from 127.0.0.1:57714. D+00000.507: Starting message loop for channel Server[?] D+00000.507: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.508: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c" } } D+00000.509: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.550: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 83901, "ppid": 83896, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.551: No active debug session for parent process of Server[pid=83901]. I+00000.552: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=83901] to Session[1] I+00000.552: /handling #2 request "launch" from Client[1]/ Launcher reported PID=83896, but server reported PID=83901 D+00000.553: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.594: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c" } } D+00000.595: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.638: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 83901 } } } D+00000.639: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.639: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "isOutputRedirected": true } } D+00000.681: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "systemProcessId": 83901, "isLocalProcess": true, "startMethod": "launch" } } D+00000.682: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.683: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.683: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "event", "event": "initialized" } D+00000.685: Client[1] --> { "seq": 3, "type": "request", "command": "configurationDone" } D+00000.686: /handling #3 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.728: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.729: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } D+00000.730: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.730: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.730: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.730: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83896, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } I+00000.731: /handling #3 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.731: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.732: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.732: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.733: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-83886.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.022: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.022: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '53351', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py'] I+00000.022: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py'] I+00000.022: Connecting to adapter at 127.0.0.1:53351 D+00000.023: Starting message loop for channel Adapter D+00000.026: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "port": 59061, "adapterAccessToken": "67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c" } } I+00000.027: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh', '-O', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:59061', '--configure-qt', 'none', '--adapter-access-token', '67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw8', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '48923', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';', 'PYTHONIOENCODING': 'utf-8'} I+00000.031: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=83896]. D+00000.031: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83896, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } I+00000.031: /handling #1 request "launch" from Adapter/ Capturing stdout of Debuggee[PID=83896]. I+00000.032: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stdout I+00000.032: /handling #1 request "launch" from Adapter/ Capturing stderr of Debuggee[PID=83896]. I+00000.032: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stderr D+00000.033: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.653: Exiting message loop for channel Adapter: No more messages D+00000.653: Closing Adapter message stream I+00000.653: /handling disconnect from Adapter/ Killing Debuggee[PID=83896] I+00000.654: Killing Debuggee[PID=83896] I+00000.654: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.83901.log ~~~~~~~~~~~~~~~~~~~~~~ 0.02s - Using Cython speedups 0.04s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:59061 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 83901, "ppid": 83896, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 83901}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "internalConsole", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": true, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "pythonArgs": [ "-O" ], "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/custompy.sh", "-O" ], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py", "systemProcessId": 83901, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.04s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.02s - ReaderThread: empty contents received (len(line) == 0). ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-83901.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.010: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.012: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:59061', '--configure-qt', 'none', '--adapter-access-token', '67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 59061), **{'access_token': '67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 59061, 'client_access_token': '67de44787626a54f7ce3c4018322c0b632a8e6ce1face019dd9295a20c12507c', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.220: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.220: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra4/code_to_debug.py' I+00000.232: Connecting backchannel-1 to port 48923... D+00000.235: backchannel <-- [1, 1] I+00.865: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]/tests-82302.log" anymore. _ test_custom_python_args[program-python-None-None-launch(console=internalConsole)] _ [gw5] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f6a35ece550> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0') run = launch(console=internalConsole) target = , python_key = 'python' python = [], python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.638: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/tests-44853.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=internalConsole)] started. ----------------------------- Captured stderr call ----------------------------- I+00.004: Starting Session[1] I+00.006: Listening for incoming connection from BackChannel[1] on port 35421... I+00.006: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py" in Session[1] using "internalConsole". I+00.007: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/Session[1]" I+00.008: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "35421" } I+00.016: Spawned Adapter[1] with PID=83932 D+00.018: watchdog-44853 <-- ['register_spawn', 83932, 'Adapter[1]'] D+00.018: watchdog-44853 --> ['ok'] D+00.019: Starting message loop for channel Adapter[1] I+00.020: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.100: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.102: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.105: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.105: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.106: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.107: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.109: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.109: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00.110: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.637: Adapter[1] --> { "seq": 4, "type": "event", "event": "initialized" } I+00.638: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 4, "type": "event", "event": "initialized"} D+00.639: Adapter[1] <-- { "seq": 3, "type": "request", "command": "configurationDone" } I+00.639: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} I+00.676: Incoming connection from BackChannel[1] accepted. D+00.683: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } I+00.686: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} == {"seq": 5, "type": "response", "command": "configurationDone", "request_seq": 3} I+00.686: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.688: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.690: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 6, "type": "response", "command": "launch", "request_seq": 2} I+00.690: Waiting for next {..., "type": "event", "event": "process", ...} D+00.691: Adapter[1] --> { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83984, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } I+00.694: Realized ({"seq": 4, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 7, "type": "event", "event": "process"} D+00.695: Adapter[1] --> { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.696: BackChannel[1] --> [0, 1] I+00.698: Ending Session[1]. D+00.700: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.708: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.708: Killing Adapter[1]. D+00.709: Closing Adapter[1] message stream D+00.711: Exiting message loop for channel Adapter[1]: No more messages I+00.712: Waiting for Adapter[1] with PID=83932 to exit. D+00.712: watchdog-44853 <-- ['unregister_spawn', 83932, 'Adapter[1]'] D+00.713: watchdog-44853 --> ['ok'] D+00.713: Closing BackChannel[1] client socket... D+00.713: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.803: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=internalConsole)] passed. E+00.803: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=internalConsole)] failed. I+00.804: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-83932.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.013: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.020: Listening for incoming Client connections on 127.0.0.1:58099... I+00000.021: Connecting to client over stdio... D+00000.022: Starting message loop for channel Client[1] D+00000.022: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.023: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.028: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.029: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.029: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.029: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.032: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00000.033: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:37839... I+00000.033: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:55539... I+00000.033: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '55539', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py'] I+00000.105: Accepted incoming Launcher connection from 127.0.0.1:49386. D+00000.106: Starting message loop for channel Launcher[1] D+00000.107: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "port": 37839, "adapterAccessToken": "64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1" } } D+00000.112: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83984, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } D+00000.113: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.114: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.115: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.384: Accepted incoming Server connection from 127.0.0.1:43282. D+00000.385: Starting message loop for channel Server[?] D+00000.386: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.386: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1" } } D+00000.387: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.429: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 83984, "ppid": 83947, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.429: No active debug session for parent process of Server[pid=83984]. I+00000.430: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=83984] to Session[1] D+00000.430: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.472: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1" } } D+00000.473: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.514: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 83984 } } } D+00000.515: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.516: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "isOutputRedirected": true } } D+00000.558: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "systemProcessId": 83984, "isLocalProcess": true, "startMethod": "launch" } } D+00000.558: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.559: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.560: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "event", "event": "initialized" } D+00000.562: Client[1] --> { "seq": 3, "type": "request", "command": "configurationDone" } D+00000.562: /handling #3 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.605: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.605: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } D+00000.606: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.606: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.606: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.606: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83984, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } I+00000.606: /handling #3 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.607: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.608: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.609: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.609: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-83947.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.015: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.020: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.020: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '55539', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py'] I+00000.020: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py'] I+00000.021: Connecting to adapter at 127.0.0.1:55539 D+00000.022: Starting message loop for channel Adapter D+00000.024: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "port": 37839, "adapterAccessToken": "64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1" } } I+00000.025: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:37839', '--configure-qt', 'none', '--adapter-access-token', '64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py'] Environment variables: {'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PBR_VERSION': '1.6.6', 'PYTHONDONTWRITEBYTECODE': '1', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HISTSIZE': '10000', 'HOSTNAME': 'devel-g2v', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PWD': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'SHLVL': '3', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'CONFIG_SITE': 'NONE', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'MAIL': '/var/spool/mail/tkloczko', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'PYTEST_XDIST_WORKER': 'gw5', 'PYTEST_XDIST_WORKER_COUNT': '8', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=internalConsole)] (call)', 'PYTHONUNBUFFERED': '1', 'PYTHONWARNINGS': 'error', 'DEBUGPY_TEST_SESSION_ID': '1', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/Session[1]', 'PYDEVD_DEBUG': 'True', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/Session[1]/pydevd.log', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '35421', 'PYTHONIOENCODING': 'utf-8'} I+00000.028: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=83984]. D+00000.029: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 83984, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "pointerSize": 64 } } I+00000.029: /handling #1 request "launch" from Adapter/ Capturing stdout of Debuggee[PID=83984]. I+00000.029: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stdout I+00000.029: /handling #1 request "launch" from Adapter/ Capturing stderr of Debuggee[PID=83984]. I+00000.029: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stderr D+00000.030: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.550: Exiting message loop for channel Adapter: No more messages D+00000.550: Closing Adapter message stream I+00000.551: /handling disconnect from Adapter/ Killing Debuggee[PID=83984] I+00000.551: Killing Debuggee[PID=83984] I+00000.551: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.83984.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:37839 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 83984, "ppid": 83947, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 83984}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "internalConsole", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": true, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "python": [ "/usr/bin/python3" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py", "systemProcessId": 83984, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-83984.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:37839', '--configure-qt', 'none', '--adapter-access-token', '64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 37839), **{'access_token': '64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 37839, 'client_access_token': '64c1d0ad0cd2b08787eae23575c606a762ab24490023cc47637318995170fca1', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.216: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.216: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra0/code_to_debug.py' I+00000.226: Connecting backchannel-1 to port 35421... D+00000.229: backchannel <-- [0, 1] I+00.805: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=internalConsole)]/tests-44853.log" anymore. _ test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f6329daf0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2') run = launch(console=internalConsole) target = , python_key = 'python' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [1, 1] == [True, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.648: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] started. ----------------------------- Captured stderr call ----------------------------- I+00.005: Starting Session[1] I+00.007: Listening for incoming connection from BackChannel[1] on port 56157... I+00.007: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py" in Session[1] using "internalConsole". I+00.008: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/Session[1]" I+00.009: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56157" } I+00.019: Spawned Adapter[1] with PID=84029 D+00.021: watchdog-44857 <-- ['register_spawn', 84029, 'Adapter[1]'] D+00.021: watchdog-44857 --> ['ok'] D+00.022: Starting message loop for channel Adapter[1] I+00.024: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.109: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.110: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.116: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.117: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.117: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.119: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.120: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.122: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.123: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.644: Adapter[1] --> { "seq": 4, "type": "event", "event": "initialized" } I+00.646: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 4, "type": "event", "event": "initialized"} D+00.647: Adapter[1] <-- { "seq": 3, "type": "request", "command": "configurationDone" } I+00.648: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} I+00.675: Incoming connection from BackChannel[1] accepted. D+00.690: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } I+00.691: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} == {"seq": 5, "type": "response", "command": "configurationDone", "request_seq": 3} I+00.692: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.692: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.693: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 6, "type": "response", "command": "launch", "request_seq": 2} I+00.693: Waiting for next {..., "type": "event", "event": "process", ...} D+00.694: Adapter[1] --> { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84069, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } I+00.695: Realized ({"seq": 4, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 7, "type": "event", "event": "process"} D+00.696: Adapter[1] --> { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.696: BackChannel[1] --> [1, 1] I+00.697: Ending Session[1]. D+00.698: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.702: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [1, 1] == [True, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.703: Killing Adapter[1]. D+00.703: Closing Adapter[1] message stream D+00.705: Exiting message loop for channel Adapter[1]: No more messages I+00.706: Waiting for Adapter[1] with PID=84029 to exit. D+00.707: watchdog-44857 <-- ['unregister_spawn', 84029, 'Adapter[1]'] D+00.707: watchdog-44857 --> ['ok'] D+00.707: Closing BackChannel[1] client socket... D+00.707: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.788: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] passed. E+00.789: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] failed. I+00.790: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84029.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:45329... I+00000.025: Connecting to client over stdio... D+00000.026: Starting message loop for channel Client[1] D+00000.026: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.034: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.035: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.035: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.036: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.038: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.039: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:35815... I+00000.040: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:56817... I+00000.040: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '56817', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py'] I+00000.113: Accepted incoming Launcher connection from 127.0.0.1:37754. D+00000.114: Starting message loop for channel Launcher[1] D+00000.115: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "port": 35815, "adapterAccessToken": "1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a" } } D+00000.122: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84069, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } D+00000.123: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.124: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.125: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.382: Accepted incoming Server connection from 127.0.0.1:37448. D+00000.383: Starting message loop for channel Server[?] D+00000.383: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.385: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a" } } D+00000.386: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.428: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84074, "ppid": 84069, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.428: No active debug session for parent process of Server[pid=84074]. I+00000.428: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84074] to Session[1] I+00000.429: /handling #2 request "launch" from Client[1]/ Launcher reported PID=84069, but server reported PID=84074 D+00000.429: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.471: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a" } } D+00000.471: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.514: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84074 } } } D+00000.515: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.516: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "isOutputRedirected": true } } D+00000.559: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "systemProcessId": 84074, "isLocalProcess": true, "startMethod": "launch" } } D+00000.560: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.560: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.561: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "event", "event": "initialized" } D+00000.564: Client[1] --> { "seq": 3, "type": "request", "command": "configurationDone" } D+00000.565: /handling #3 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.606: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.607: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } D+00000.607: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.607: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.607: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.607: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84069, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } I+00000.607: /handling #3 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.608: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.608: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.608: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.609: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84058.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.014: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.019: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '56817', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py'] I+00000.019: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py'] I+00000.019: Connecting to adapter at 127.0.0.1:56817 D+00000.020: Starting message loop for channel Adapter D+00000.022: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "port": 35815, "adapterAccessToken": "1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a" } } I+00000.023: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh', '-O', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:35815', '--configure-qt', 'none', '--adapter-access-token', '1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '56157', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';', 'PYTHONIOENCODING': 'utf-8'} I+00000.028: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84069]. D+00000.028: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84069, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } I+00000.028: /handling #1 request "launch" from Adapter/ Capturing stdout of Debuggee[PID=84069]. I+00000.029: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stdout I+00000.029: /handling #1 request "launch" from Adapter/ Capturing stderr of Debuggee[PID=84069]. I+00000.029: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stderr D+00000.030: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.529: Exiting message loop for channel Adapter: No more messages D+00000.529: Closing Adapter message stream I+00000.529: /handling disconnect from Adapter/ Killing Debuggee[PID=84069] I+00000.530: Killing Debuggee[PID=84069] I+00000.530: Debuggee[PID=84069] exited with code 247 I+00000.530: Waiting for remaining stdout of Debuggee[PID=84069]. I+00000.530: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84074.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.03s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:35815 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84074, "ppid": 84069, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84074}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "internalConsole", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": true, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/custompy.sh", "-O" ], "pythonArgs": [ "-O" ], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py", "systemProcessId": 84074, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84074.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.022: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.022: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:35815', '--configure-qt', 'none', '--adapter-access-token', '1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.022: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py'] D+00000.022: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.023: connect(('127.0.0.1', 35815), **{'access_token': '1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a'}) I+00000.023: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.023: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 35815, 'client_access_token': '1d98c4ffab6cf27186987bb6f0bb14facff20f6e457265e154ccc9c53dbc441a', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.228: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.228: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra2/code_to_debug.py' I+00000.236: Connecting backchannel-1 to port 56157... D+00000.239: backchannel <-- [1, 1] I+00.790: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]/tests-44857.log" anymore. _ test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] _ [gw8] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f5ecec96820> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5') run = launch(console=integratedTerminal) target = , python_key = 'pythonPath' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [1, 1] == [True, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.872: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/tests-82302.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.004: Starting Session[1] I+00.006: Listening for incoming connection from BackChannel[1] on port 55261... I+00.006: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.007: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]" I+00.008: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "55261" } I+00.017: Spawned Adapter[1] with PID=84062 D+00.018: watchdog-82302 <-- ['register_spawn', 84062, 'Adapter[1]'] D+00.019: watchdog-82302 --> ['ok'] D+00.019: Starting message loop for channel Adapter[1] I+00.020: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.105: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.107: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.109: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.110: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.110: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.112: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.113: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.113: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.114: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.115: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "42419", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5" } } I+00.116: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "42419", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "55261", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/Session[1]/adapter_endpoints" } I+00.123: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=84099 D+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-82302 <-- ['register_spawn', 84099, 'Debuggee[1]'] D+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-82302 --> ['ok'] I+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.125: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.125: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.649: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.650: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.651: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.651: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.682: Incoming connection from BackChannel[1] accepted. D+00.693: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00.694: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.695: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.696: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} I+00.697: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.698: Waiting for next {..., "type": "event", "event": "process", ...} D+00.698: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84110, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "pointerSize": 64 } } I+00.700: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.701: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.701: BackChannel[1] --> [1, 1] I+00.702: Ending Session[1]. D+00.703: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.704: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [1, 1] == [True, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.704: Killing Adapter[1]. I+00.704: Killing Debuggee[1]. D+00.705: Closing Adapter[1] message stream D+00.708: Exiting message loop for channel Adapter[1]: No more messages I+00.708: Waiting for Adapter[1] to close listener ports ... I+00.708: Waiting for Adapter[1] with PID=84062 to exit. D+00.709: watchdog-82302 <-- ['unregister_spawn', 84062, 'Adapter[1]'] D+00.709: watchdog-82302 --> ['ok'] D+00.709: Closing BackChannel[1] client socket... D+00.709: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.726: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] passed. E+00.726: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] failed. I+00.727: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84062.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.023: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:42087... I+00000.024: Connecting to client over stdio... D+00000.025: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.025: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.030: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.031: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.031: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.031: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.034: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.034: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:37209... I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:42419... I+00000.035: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.035: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "42419", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5" } } D+00000.046: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.115: Accepted incoming Launcher connection from 127.0.0.1:48374. D+00000.116: Starting message loop for channel Launcher[1] D+00000.116: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "port": 37209, "adapterAccessToken": "176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a" } } D+00000.121: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84110, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "pointerSize": 64 } } D+00000.122: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.122: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.123: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.394: Accepted incoming Server connection from 127.0.0.1:39804. D+00000.395: Starting message loop for channel Server[?] D+00000.396: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.397: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a" } } D+00000.398: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.440: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84114, "ppid": 84110, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.440: No active debug session for parent process of Server[pid=84114]. I+00000.440: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84114] to Session[1] I+00000.440: /handling #2 request "launch" from Client[1]/ Launcher reported PID=84110, but server reported PID=84114 D+00000.441: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.482: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a" } } D+00000.483: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.525: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84114 } } } D+00000.525: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.526: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "isOutputRedirected": false } } D+00000.567: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "systemProcessId": 84114, "isLocalProcess": true, "startMethod": "launch" } } D+00000.568: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.568: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.569: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.571: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.572: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.613: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.614: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.614: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.614: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.614: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.614: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.615: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84110, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "pointerSize": 64 } } I+00000.615: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.615: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.616: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.616: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84101.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.019: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.025: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.025: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '42419', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py'] I+00000.025: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py'] I+00000.026: Connecting to adapter at 127.0.0.1:42419 D+00000.026: Starting message loop for channel Adapter D+00000.027: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "port": 37209, "adapterAccessToken": "176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a" } } I+00000.028: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh', '-O', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:37209', '--configure-qt', 'none', '--adapter-access-token', '176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw8', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '55261', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.031: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84110]. D+00000.032: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84110, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "pointerSize": 64 } } D+00000.032: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.539: Exiting message loop for channel Adapter: No more messages D+00000.539: Closing Adapter message stream I+00000.540: /handling disconnect from Adapter/ Killing Debuggee[PID=84110] I+00000.540: Killing Debuggee[PID=84110] I+00000.540: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84114.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.01s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:37209 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84114, "ppid": 84110, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84114}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "integratedTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "pythonArgs": [ "-O" ], "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/custompy.sh", "-O" ], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py", "systemProcessId": 84114, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.02s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py", line 269, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84114.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.011: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:37209', '--configure-qt', 'none', '--adapter-access-token', '176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.011: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py'] D+00000.011: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.011: connect(('127.0.0.1', 37209), **{'access_token': '176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a'}) I+00000.011: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.011: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 37209, 'client_access_token': '176628091cb246f0f66afa9df1b6452c87e632269971afabbfb6046d94fc181a', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.212: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.212: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra5/code_to_debug.py' I+00000.220: Connecting backchannel-1 to port 55261... D+00000.222: backchannel <-- [1, 1] I+00.728: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)]/tests-82302.log" anymore. _ test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] _ [gw5] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f6a35ac41f0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1') run = launch(console=integratedTerminal) target = , python_key = 'python' python = [], python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.809: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/tests-44853.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 53581... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53581" } I+00.011: Spawned Adapter[1] with PID=84119 D+00.012: watchdog-44853 <-- ['register_spawn', 84119, 'Adapter[1]'] D+00.012: watchdog-44853 --> ['ok'] D+00.013: Starting message loop for channel Adapter[1] I+00.013: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.109: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.111: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.113: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.114: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.114: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.116: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.117: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.118: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00.119: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.120: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "39255", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1" } } I+00.122: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1" Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "39255", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53581", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/Session[1]/adapter_endpoints" } I+00.131: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=84146 D+00.132: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 <-- ['register_spawn', 84146, 'Debuggee[1]'] D+00.132: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 --> ['ok'] I+00.133: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.133: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.134: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.714: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.717: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.717: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.718: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.746: Incoming connection from BackChannel[1] accepted. D+00.762: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.765: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.765: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.767: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.769: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.769: Waiting for next {..., "type": "event", "event": "process", ...} D+00.771: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84168, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "pointerSize": 64 } } I+00.774: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.775: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.776: BackChannel[1] --> [0, 1] I+00.778: Ending Session[1]. E+00.781: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) D+00.781: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } I+00.781: Killing Adapter[1]. I+00.782: Killing Debuggee[1]. D+00.783: Closing Adapter[1] message stream D+00.785: Exiting message loop for channel Adapter[1]: No more messages I+00.786: Waiting for Adapter[1] to close listener ports ... I+00.786: Waiting for Adapter[1] with PID=84119 to exit. D+00.787: watchdog-44853 <-- ['unregister_spawn', 84119, 'Adapter[1]'] D+00.787: watchdog-44853 --> ['ok'] D+00.787: Closing BackChannel[1] client socket... D+00.787: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.825: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] passed. E+00.825: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] failed. I+00.826: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84119.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.023: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.023: Listening for incoming Client connections on 127.0.0.1:35403... I+00000.024: Connecting to client over stdio... D+00000.024: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.025: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.030: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.031: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.031: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.031: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.034: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:36301... I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:39255... I+00000.035: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.036: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "39255", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1" } } D+00000.050: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.127: Accepted incoming Launcher connection from 127.0.0.1:33986. D+00000.128: Starting message loop for channel Launcher[1] D+00000.129: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "port": 36301, "adapterAccessToken": "ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c" } } D+00000.137: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84168, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "pointerSize": 64 } } D+00000.137: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.138: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.139: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.454: Accepted incoming Server connection from 127.0.0.1:42364. D+00000.455: Starting message loop for channel Server[?] D+00000.455: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.456: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c" } } D+00000.457: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.498: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84168, "ppid": 84146, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.499: No active debug session for parent process of Server[pid=84168]. I+00000.499: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84168] to Session[1] D+00000.500: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.541: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c" } } D+00000.542: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.585: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84168 } } } D+00000.586: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.586: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "isOutputRedirected": false } } D+00000.628: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "systemProcessId": 84168, "isLocalProcess": true, "startMethod": "launch" } } D+00000.629: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.629: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.630: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.633: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.634: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.677: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.678: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.678: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.678: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.679: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.679: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84168, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "pointerSize": 64 } } I+00000.679: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.680: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.680: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.681: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.681: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84146.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '39255', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py'] I+00000.025: Connecting to adapter at 127.0.0.1:39255 D+00000.025: Starting message loop for channel Adapter D+00000.027: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "port": 36301, "adapterAccessToken": "ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c" } } I+00000.029: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:36301', '--configure-qt', 'none', '--adapter-access-token', 'ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py'] Environment variables: {'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PBR_VERSION': '1.6.6', 'PYTHONDONTWRITEBYTECODE': '1', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HISTSIZE': '10000', 'HOSTNAME': 'devel-g2v', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PWD': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'SHLVL': '3', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'CONFIG_SITE': 'NONE', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'MAIL': '/var/spool/mail/tkloczko', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'PYTEST_XDIST_WORKER': 'gw5', 'PYTEST_XDIST_WORKER_COUNT': '8', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] (call)', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]', 'PYTHONUNBUFFERED': '1', 'PYTHONWARNINGS': 'error', 'DEBUGPY_TEST_SESSION_ID': '1', 'PYDEVD_DEBUG': 'True', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '53581', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/Session[1]/adapter_endpoints'} I+00000.034: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84168]. D+00000.034: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84168, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "pointerSize": 64 } } D+00000.035: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84168.log ~~~~~~~~~~~~~~~~~~~~~~ 0.02s - Using Cython speedups 0.04s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:36301 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84168, "ppid": 84146, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84168}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "integratedTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "python": [ "/usr/bin/python3" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py", "systemProcessId": 84168, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.04s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py", line 269, in _on_run) 0.00s - pydevd.Writer received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 410, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84168.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.012: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.015: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.015: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:36301', '--configure-qt', 'none', '--adapter-access-token', 'ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.015: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py'] D+00000.015: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.015: connect(('127.0.0.1', 36301), **{'access_token': 'ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c'}) I+00000.015: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.015: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 36301, 'client_access_token': 'ee3e833b34857aff14644e18c56a297cae9c6b9a3dc5ed0950e923593b14782c', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.216: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.216: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra1/code_to_debug.py' I+00000.224: Connecting backchannel-1 to port 53581... D+00000.227: backchannel <-- [0, 1] I+00.827: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)]/tests-44853.log" anymore. _ test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f6329d550> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3') run = launch(console=integratedTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [1, 1] == [True, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.794: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 57075... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "57075" } I+00.011: Spawned Adapter[1] with PID=84245 D+00.012: watchdog-44857 <-- ['register_spawn', 84245, 'Adapter[1]'] D+00.012: watchdog-44857 --> ['ok'] D+00.013: Starting message loop for channel Adapter[1] I+00.013: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.101: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.102: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.105: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.106: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.107: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.108: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.109: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.111: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.112: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.113: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "36999", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3" } } I+00.114: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "36999", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "57075", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/Session[1]/adapter_endpoints" } I+00.123: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=84291 D+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 <-- ['register_spawn', 84291, 'Debuggee[1]'] D+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 --> ['ok'] I+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.125: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.126: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.659: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.662: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.663: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.664: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.696: Incoming connection from BackChannel[1] accepted. D+00.708: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.710: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.710: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.710: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.712: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.712: Waiting for next {..., "type": "event", "event": "process", ...} D+00.713: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84323, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "pointerSize": 64 } } I+00.714: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.715: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.715: BackChannel[1] --> [1, 1] I+00.716: Ending Session[1]. E+00.718: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [1, 1] == [True, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.718: Killing Adapter[1]. D+00.718: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } I+00.719: Killing Debuggee[1]. D+00.719: Closing Adapter[1] message stream D+00.722: Exiting message loop for channel Adapter[1]: No more messages I+00.722: Waiting for Adapter[1] to close listener ports ... I+00.722: Waiting for Adapter[1] with PID=84245 to exit. D+00.723: watchdog-44857 <-- ['unregister_spawn', 84245, 'Adapter[1]'] D+00.723: watchdog-44857 --> ['ok'] D+00.723: Closing BackChannel[1] client socket... D+00.723: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.739: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] passed. E+00.740: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] failed. I+00.740: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84245.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.023: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:53793... I+00000.024: Connecting to client over stdio... D+00000.025: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.025: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.031: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.032: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.032: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.033: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.035: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.036: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:56049... I+00000.036: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:36999... I+00000.036: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.037: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "36999", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3" } } D+00000.051: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.131: Accepted incoming Launcher connection from 127.0.0.1:50090. D+00000.131: Starting message loop for channel Launcher[1] D+00000.132: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "port": 56049, "adapterAccessToken": "08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715" } } D+00000.139: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84323, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "pointerSize": 64 } } D+00000.139: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.140: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.140: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.406: Accepted incoming Server connection from 127.0.0.1:49026. D+00000.406: Starting message loop for channel Server[?] D+00000.407: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.409: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715" } } D+00000.409: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.452: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84326, "ppid": 84323, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.452: No active debug session for parent process of Server[pid=84326]. I+00000.453: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84326] to Session[1] I+00000.453: /handling #2 request "launch" from Client[1]/ Launcher reported PID=84323, but server reported PID=84326 D+00000.453: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.495: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715" } } D+00000.496: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.539: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84326 } } } D+00000.539: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.539: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "isOutputRedirected": false } } D+00000.582: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "systemProcessId": 84326, "isLocalProcess": true, "startMethod": "launch" } } D+00000.582: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.583: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.583: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.588: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.589: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.632: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.633: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.633: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.633: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.633: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.634: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84323, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "pointerSize": 64 } } D+00000.634: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } I+00000.634: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.635: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.635: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.635: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84293.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '36999', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py'] I+00000.024: Connecting to adapter at 127.0.0.1:36999 D+00000.025: Starting message loop for channel Adapter D+00000.026: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "port": 56049, "adapterAccessToken": "08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715" } } I+00000.027: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh', '-O', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:56049', '--configure-qt', 'none', '--adapter-access-token', '08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '57075', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.032: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84323]. D+00000.033: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84323, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "pointerSize": 64 } } D+00000.033: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.541: Exiting message loop for channel Adapter: No more messages D+00000.541: Closing Adapter message stream I+00000.541: /handling disconnect from Adapter/ Killing Debuggee[PID=84323] I+00000.542: Killing Debuggee[PID=84323] I+00000.542: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84326.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:56049 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84326, "ppid": 84323, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84326}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "integratedTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/custompy.sh", "-O" ], "pythonArgs": [ "-O" ], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py", "systemProcessId": 84326, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.02s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py", line 269, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84326.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:56049', '--configure-qt', 'none', '--adapter-access-token', '08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 56049), **{'access_token': '08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 56049, 'client_access_token': '08ff2c50a732f12f5081f7ccc49df18b7baaedb1bdcbf986d83eddb944df3715', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.218: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.218: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra3/code_to_debug.py' I+00000.227: Connecting backchannel-1 to port 57075... D+00000.230: backchannel <-- [1, 1] I+00.741: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)]/tests-44857.log" anymore. _ test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] _ [gw8] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f5ecf106dc0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6') run = launch(console=externalTerminal) target = , python_key = 'pythonPath' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [1, 1] == [True, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.731: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/tests-82302.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 50747... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py" in Session[1] using "externalTerminal". I+00.003: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "50747" } I+00.011: Spawned Adapter[1] with PID=84272 D+00.012: watchdog-82302 <-- ['register_spawn', 84272, 'Adapter[1]'] D+00.012: watchdog-82302 --> ['ok'] D+00.012: Starting message loop for channel Adapter[1] I+00.013: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.101: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.103: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.104: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.105: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.105: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.106: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.107: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.107: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.108: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.109: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "54627", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6" } } I+00.110: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "54627", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "50747", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/Session[1]/adapter_endpoints" } I+00.117: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=84315 D+00.118: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-82302 <-- ['register_spawn', 84315, 'Debuggee[1]'] D+00.119: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-82302 --> ['ok'] I+00.119: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.119: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.119: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.661: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.663: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.663: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.663: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.685: Incoming connection from BackChannel[1] accepted. D+00.706: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.708: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} D+00.708: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.708: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} I+00.712: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.712: Waiting for next {..., "type": "event", "event": "process", ...} D+00.714: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84352, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } I+00.717: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.718: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.719: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00.720: BackChannel[1] --> [1, 1] I+00.721: Ending Session[1]. E+00.724: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [1, 1] == [True, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.724: Killing Adapter[1]. I+00.725: Killing Debuggee[1]. D+00.725: Closing Adapter[1] message stream D+00.727: Exiting message loop for channel Adapter[1]: No more messages I+00.728: Waiting for Adapter[1] to close listener ports ... I+00.728: Waiting for Adapter[1] with PID=84272 to exit. D+00.729: watchdog-82302 <-- ['unregister_spawn', 84272, 'Adapter[1]'] D+00.730: watchdog-82302 --> ['ok'] D+00.730: Closing BackChannel[1] client socket... D+00.730: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.766: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] passed. E+00.767: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] failed. I+00.769: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84272.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:41581... I+00000.025: Connecting to client over stdio... D+00000.026: Starting message loop for channel Client[1] D+00000.026: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.029: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.030: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.030: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.030: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.032: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.033: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:36813... I+00000.033: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:54627... I+00000.034: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.034: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "54627", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6" } } D+00000.044: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.117: Accepted incoming Launcher connection from 127.0.0.1:55544. D+00000.118: Starting message loop for channel Launcher[1] D+00000.119: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "port": 36813, "adapterAccessToken": "df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450" } } D+00000.125: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84352, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } D+00000.125: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.126: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.127: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.411: Accepted incoming Server connection from 127.0.0.1:52046. D+00000.411: Starting message loop for channel Server[?] D+00000.412: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.413: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450" } } D+00000.414: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.455: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84355, "ppid": 84352, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.456: No active debug session for parent process of Server[pid=84355]. I+00000.456: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84355] to Session[1] I+00000.456: /handling #2 request "launch" from Client[1]/ Launcher reported PID=84352, but server reported PID=84355 D+00000.457: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.498: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450" } } D+00000.499: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.541: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84355 } } } D+00000.541: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.542: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "isOutputRedirected": false } } D+00000.583: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "systemProcessId": 84355, "isLocalProcess": true, "startMethod": "launch" } } D+00000.584: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.584: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.585: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.588: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.589: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.630: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.631: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.631: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.631: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.632: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.632: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.632: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84352, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } I+00000.632: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.633: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.633: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.633: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84317.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '54627', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py'] I+00000.025: Connecting to adapter at 127.0.0.1:54627 D+00000.025: Starting message loop for channel Adapter D+00000.027: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "port": 36813, "adapterAccessToken": "df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450" } } I+00000.028: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh', '-O', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:36813', '--configure-qt', 'none', '--adapter-access-token', 'df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw8', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '50747', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.032: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84352]. D+00000.033: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84352, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } D+00000.033: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.560: Exiting message loop for channel Adapter: No more messages D+00000.560: Closing Adapter message stream I+00000.561: /handling disconnect from Adapter/ Killing Debuggee[PID=84352] I+00000.561: Killing Debuggee[PID=84352] I+00000.561: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84355.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:36813 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84355, "ppid": 84352, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84355}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "externalTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "pythonArgs": [ "-O" ], "pythonPath": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/custompy.sh", "-O" ], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py", "systemProcessId": 84355, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.04s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84355.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.011: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.013: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.013: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:36813', '--configure-qt', 'none', '--adapter-access-token', 'df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.013: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py'] D+00000.013: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.013: connect(('127.0.0.1', 36813), **{'access_token': 'df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450'}) I+00000.013: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.013: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 36813, 'client_access_token': 'df3fb888302248bd967c8f7dc7390a31481d21351e038e06c74f1fa772a9c450', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.207: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.207: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw8/test_custom_python_args_progra6/code_to_debug.py' I+00000.213: Connecting backchannel-1 to port 50747... D+00000.214: backchannel <-- [1, 1] I+00.771: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]/tests-82302.log" anymore. _ test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] _ [gw5] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f6a35ac4310> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2') run = launch(console=externalTerminal) target = , python_key = 'python' python = [], python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.831: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/tests-44853.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 58711... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py" in Session[1] using "externalTerminal". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "58711" } I+00.011: Spawned Adapter[1] with PID=84398 D+00.012: watchdog-44853 <-- ['register_spawn', 84398, 'Adapter[1]'] D+00.012: watchdog-44853 --> ['ok'] D+00.013: Starting message loop for channel Adapter[1] I+00.014: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.087: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.088: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.091: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.091: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.091: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.092: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.094: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.095: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00.096: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.097: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "40833", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2" } } I+00.099: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2" Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "40833", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "58711", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/Session[1]/adapter_endpoints" } I+00.107: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=84424 D+00.108: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 <-- ['register_spawn', 84424, 'Debuggee[1]'] D+00.109: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 --> ['ok'] I+00.109: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.109: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.110: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.611: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.614: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.615: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.616: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.653: Incoming connection from BackChannel[1] accepted. D+00.658: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.660: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.660: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.661: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00.662: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84441, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } I+00.662: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.663: Waiting for next {..., "type": "event", "event": "process", ...} I+00.665: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.665: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.666: BackChannel[1] --> [0, 1] I+00.667: Ending Session[1]. E+00.668: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) D+00.668: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } I+00.669: Killing Adapter[1]. I+00.669: Killing Debuggee[1]. D+00.670: Closing Adapter[1] message stream D+00.672: Exiting message loop for channel Adapter[1]: No more messages I+00.672: Waiting for Adapter[1] to close listener ports ... I+00.672: Waiting for Adapter[1] with PID=84398 to exit. D+00.673: watchdog-44853 <-- ['unregister_spawn', 84398, 'Adapter[1]'] D+00.673: watchdog-44853 --> ['ok'] D+00.673: Closing BackChannel[1] client socket... D+00.673: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.689: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] passed. E+00.690: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] failed. I+00.691: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84398.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.015: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.020: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.021: Listening for incoming Client connections on 127.0.0.1:59273... I+00000.021: Connecting to client over stdio... D+00000.022: Starting message loop for channel Client[1] D+00000.022: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.023: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.027: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.027: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.028: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.028: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.031: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00000.032: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:50787... I+00000.032: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:40833... I+00000.032: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.032: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "40833", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2" } } D+00000.046: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.110: Accepted incoming Launcher connection from 127.0.0.1:46316. D+00000.110: Starting message loop for channel Launcher[1] D+00000.111: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "port": 50787, "adapterAccessToken": "73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca" } } D+00000.116: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84441, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } D+00000.117: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.118: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.119: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.370: Accepted incoming Server connection from 127.0.0.1:59170. D+00000.370: Starting message loop for channel Server[?] D+00000.371: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.372: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca" } } D+00000.373: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.415: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84441, "ppid": 84424, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.416: No active debug session for parent process of Server[pid=84441]. I+00000.416: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84441] to Session[1] D+00000.417: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.459: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca" } } D+00000.460: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.502: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84441 } } } D+00000.503: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.503: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "isOutputRedirected": false } } D+00000.545: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "systemProcessId": 84441, "isLocalProcess": true, "startMethod": "launch" } } D+00000.546: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.546: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.547: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.551: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.552: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.593: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.594: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.594: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.594: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.594: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.594: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84441, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } I+00000.594: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.595: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.596: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.596: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.596: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84424.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.015: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.019: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '40833', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py'] I+00000.019: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py'] I+00000.019: Connecting to adapter at 127.0.0.1:40833 D+00000.020: Starting message loop for channel Adapter D+00000.021: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "port": 50787, "adapterAccessToken": "73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca" } } I+00000.022: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:50787', '--configure-qt', 'none', '--adapter-access-token', '73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py'] Environment variables: {'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PBR_VERSION': '1.6.6', 'PYTHONDONTWRITEBYTECODE': '1', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HISTSIZE': '10000', 'HOSTNAME': 'devel-g2v', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PWD': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'SHLVL': '3', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'CONFIG_SITE': 'NONE', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'MAIL': '/var/spool/mail/tkloczko', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'PYTEST_XDIST_WORKER': 'gw5', 'PYTEST_XDIST_WORKER_COUNT': '8', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] (call)', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]', 'PYTHONUNBUFFERED': '1', 'PYTHONWARNINGS': 'error', 'DEBUGPY_TEST_SESSION_ID': '1', 'PYDEVD_DEBUG': 'True', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/Session[1]/pydevd.log', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '58711', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/Session[1]/adapter_endpoints'} I+00000.025: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84441]. D+00000.026: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84441, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "pointerSize": 64 } } D+00000.027: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84441.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:50787 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84441, "ppid": 84424, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84441}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "externalTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "python": [ "/usr/bin/python3" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py", "systemProcessId": 84441, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.02s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} 0.00s - pydevd.Writer received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py", line 269, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 410, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84441.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.010: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.012: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:50787', '--configure-qt', 'none', '--adapter-access-token', '73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 50787), **{'access_token': '73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 50787, 'client_access_token': '73d08bbfbb2ce946894996aabd427728a06c6dc7f61bcca8d41749cf61bb86ca', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.221: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.221: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra2/code_to_debug.py' I+00000.232: Connecting backchannel-1 to port 58711... D+00000.234: backchannel <-- [0, 1] I+00.691: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-None-None-launch(console=externalTerminal)]/tests-44853.log" anymore. _ test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f6329dee0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4') run = launch(console=externalTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [1, 1] == [True, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.745: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 54235... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py" in Session[1] using "externalTerminal". I+00.003: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "54235" } I+00.011: Spawned Adapter[1] with PID=84491 D+00.012: watchdog-44857 <-- ['register_spawn', 84491, 'Adapter[1]'] D+00.012: watchdog-44857 --> ['ok'] D+00.013: Starting message loop for channel Adapter[1] I+00.014: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.105: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.106: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.108: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.109: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.109: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.111: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.112: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.112: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.113: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.114: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "35371", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4" } } I+00.116: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "35371", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "54235", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/Session[1]/adapter_endpoints" } I+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=84521 D+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 <-- ['register_spawn', 84521, 'Debuggee[1]'] D+00.125: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 --> ['ok'] I+00.125: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.125: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.126: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.649: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.653: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.654: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.655: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.682: Incoming connection from BackChannel[1] accepted. D+00.697: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.702: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.703: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.706: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.711: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.712: Waiting for next {..., "type": "event", "event": "process", ...} D+00.715: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84537, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } I+00.720: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.721: BackChannel[1] --> [1, 1] I+00.723: Ending Session[1]. D+00.723: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } E+00.726: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [1, 1] == [True, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.727: Killing Adapter[1]. D+00.727: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } I+00.728: Killing Debuggee[1]. D+00.728: Closing Adapter[1] message stream D+00.730: Exiting message loop for channel Adapter[1]: No more messages I+00.731: Waiting for Adapter[1] to close listener ports ... I+00.731: Waiting for Adapter[1] with PID=84491 to exit. D+00.731: watchdog-44857 <-- ['unregister_spawn', 84491, 'Adapter[1]'] D+00.732: watchdog-44857 --> ['ok'] D+00.732: Closing BackChannel[1] client socket... D+00.732: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.750: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] passed. E+00.751: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] failed. I+00.752: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-84491.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.020: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.026: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.027: Listening for incoming Client connections on 127.0.0.1:53943... I+00000.027: Connecting to client over stdio... D+00000.028: Starting message loop for channel Client[1] D+00000.028: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.028: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.033: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.033: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.034: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.034: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.036: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.037: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:37497... I+00000.037: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:35371... I+00000.038: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.038: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "35371", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4" } } D+00000.050: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.113: Accepted incoming Launcher connection from 127.0.0.1:50296. D+00000.114: Starting message loop for channel Launcher[1] D+00000.114: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "port": 37497, "adapterAccessToken": "30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499" } } D+00000.121: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84537, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } D+00000.122: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.122: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.122: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.397: Accepted incoming Server connection from 127.0.0.1:48298. D+00000.398: Starting message loop for channel Server[?] D+00000.398: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.399: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499" } } D+00000.399: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.441: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 84541, "ppid": 84537, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.442: No active debug session for parent process of Server[pid=84541]. I+00000.442: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=84541] to Session[1] I+00000.442: /handling #2 request "launch" from Client[1]/ Launcher reported PID=84537, but server reported PID=84541 D+00000.442: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.484: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499" } } D+00000.485: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.527: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 84541 } } } D+00000.528: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.528: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "isOutputRedirected": false } } D+00000.570: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "systemProcessId": 84541, "isLocalProcess": true, "startMethod": "launch" } } D+00000.571: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.572: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.572: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.577: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.578: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.620: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.621: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.621: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.621: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.621: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.622: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84537, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } I+00000.622: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.623: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.623: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.624: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.625: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-84524.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.014: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.019: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '35371', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py'] I+00000.019: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py'] I+00000.019: Connecting to adapter at 127.0.0.1:35371 D+00000.020: Starting message loop for channel Adapter D+00000.021: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "-O" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [ "-O" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "port": 37497, "adapterAccessToken": "30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499" } } I+00000.022: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh', '-O', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:37497', '--configure-qt', 'none', '--adapter-access-token', '30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '54235', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.027: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=84537]. D+00000.027: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 84537, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "pointerSize": 64 } } D+00000.028: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.561: Exiting message loop for channel Adapter: No more messages D+00000.561: Closing Adapter message stream I+00000.562: /handling disconnect from Adapter/ Killing Debuggee[PID=84537] I+00000.562: Killing Debuggee[PID=84537] I+00000.562: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.84541.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.01s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:37497 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 84541, "ppid": 84537, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 84541}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "externalTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/custompy.sh", "-O" ], "pythonArgs": [ "-O" ], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py", "systemProcessId": 84541, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.05s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-84541.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.011: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:37497', '--configure-qt', 'none', '--adapter-access-token', '30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.011: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py'] D+00000.011: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.011: connect(('127.0.0.1', 37497), **{'access_token': '30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499'}) I+00000.011: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.011: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 37497, 'client_access_token': '30debd24f24763b3fbd60a4fa5fe5433a367a723e1dba1cb072d515e6e41a499', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.213: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.213: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra4/code_to_debug.py' I+00000.220: Connecting backchannel-1 to port 54235... D+00000.223: backchannel <-- [1, 1] I+00.753: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/tests-44857.log" anymore. _ test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] _ [gw5] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f6a35e31b80> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6') run = launch(console=internalConsole) target = , python_key = 'python' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.626: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/tests-44853.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] started. ----------------------------- Captured stderr call ----------------------------- I+00.005: Starting Session[1] I+00.008: Listening for incoming connection from BackChannel[1] on port 40119... I+00.008: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py" in Session[1] using "internalConsole". I+00.009: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/Session[1]" I+00.010: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "40119" } I+00.021: Spawned Adapter[1] with PID=85713 D+00.022: watchdog-44853 <-- ['register_spawn', 85713, 'Adapter[1]'] D+00.023: watchdog-44853 --> ['ok'] D+00.024: Starting message loop for channel Adapter[1] I+00.025: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.112: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.114: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.116: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.116: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.117: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.119: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.120: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.121: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.121: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.718: Adapter[1] --> { "seq": 4, "type": "event", "event": "initialized" } I+00.720: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 4, "type": "event", "event": "initialized"} D+00.721: Adapter[1] <-- { "seq": 3, "type": "request", "command": "configurationDone" } I+00.721: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} D+00.764: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } I+00.766: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} == {"seq": 5, "type": "response", "command": "configurationDone", "request_seq": 3} I+00.766: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.767: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.768: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 6, "type": "response", "command": "launch", "request_seq": 2} I+00.768: Waiting for next {..., "type": "event", "event": "process", ...} I+00.769: Incoming connection from BackChannel[1] accepted. D+00.770: Adapter[1] --> { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85748, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } I+00.772: Realized ({"seq": 4, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 7, "type": "event", "event": "process"} D+00.772: Adapter[1] --> { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.773: BackChannel[1] --> [0, 1] I+00.774: Ending Session[1]. D+00.774: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.776: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.776: Killing Adapter[1]. D+00.777: Closing Adapter[1] message stream D+00.780: Exiting message loop for channel Adapter[1]: No more messages I+00.780: Waiting for Adapter[1] with PID=85713 to exit. D+00.781: watchdog-44853 <-- ['unregister_spawn', 85713, 'Adapter[1]'] D+00.781: watchdog-44853 --> ['ok'] D+00.781: Closing BackChannel[1] client socket... D+00.781: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.809: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] passed. E+00.809: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] failed. I+00.810: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-85713.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.025: Listening for incoming Client connections on 127.0.0.1:51319... I+00000.025: Connecting to client over stdio... D+00000.026: Starting message loop for channel Client[1] D+00000.027: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.027: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.032: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.033: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.033: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.033: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.036: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.037: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:53617... I+00000.037: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:38413... I+00000.038: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '38413', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py'] I+00000.142: Accepted incoming Launcher connection from 127.0.0.1:49102. D+00000.143: Starting message loop for channel Launcher[1] D+00000.144: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "port": 53617, "adapterAccessToken": "af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b" } } D+00000.151: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85748, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } D+00000.152: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.153: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.154: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.459: Accepted incoming Server connection from 127.0.0.1:49646. D+00000.459: Starting message loop for channel Server[?] D+00000.460: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.461: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b" } } D+00000.462: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.504: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 85754, "ppid": 85748, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.504: No active debug session for parent process of Server[pid=85754]. I+00000.505: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=85754] to Session[1] I+00000.505: /handling #2 request "launch" from Client[1]/ Launcher reported PID=85748, but server reported PID=85754 D+00000.505: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.547: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b" } } D+00000.548: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.589: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 85754 } } } D+00000.590: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.591: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "isOutputRedirected": true } } D+00000.632: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "systemProcessId": 85754, "isLocalProcess": true, "startMethod": "launch" } } D+00000.633: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.633: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.634: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "event", "event": "initialized" } D+00000.636: Client[1] --> { "seq": 3, "type": "request", "command": "configurationDone" } D+00000.637: /handling #3 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.679: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.679: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } D+00000.680: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.680: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.680: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.680: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85748, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } I+00000.680: /handling #3 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.681: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.682: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.687: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.688: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-85726.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.020: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.025: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.026: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '38413', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py'] I+00000.026: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py'] I+00000.026: Connecting to adapter at 127.0.0.1:38413 D+00000.027: Starting message loop for channel Adapter D+00000.029: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "port": 53617, "adapterAccessToken": "af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b" } } I+00000.030: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:53617', '--configure-qt', 'none', '--adapter-access-token', 'af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw5', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '40119', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';', 'PYTHONIOENCODING': 'utf-8'} I+00000.035: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=85748]. D+00000.035: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85748, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "pointerSize": 64 } } I+00000.035: /handling #1 request "launch" from Adapter/ Capturing stdout of Debuggee[PID=85748]. I+00000.035: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stdout I+00000.036: /handling #1 request "launch" from Adapter/ Capturing stderr of Debuggee[PID=85748]. I+00000.036: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stderr D+00000.037: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.580: Exiting message loop for channel Adapter: No more messages D+00000.580: Closing Adapter message stream I+00000.580: /handling disconnect from Adapter/ Killing Debuggee[PID=85748] I+00000.581: Killing Debuggee[PID=85748] I+00000.581: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.85754.log ~~~~~~~~~~~~~~~~~~~~~~ 0.02s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:53617 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 85754, "ppid": 85748, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 85754}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "internalConsole", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": true, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/custompy.sh" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py", "systemProcessId": 85754, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.01s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} 0.00s - pydevd.Writer received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-85754.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.010: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.012: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:53617', '--configure-qt', 'none', '--adapter-access-token', 'af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 53617), **{'access_token': 'af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 53617, 'client_access_token': 'af43a354958052fabe99e2ef99a183635ae00adcce003b70b6ec44600e39453b', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.227: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.227: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra6/code_to_debug.py' I+00000.239: Connecting backchannel-1 to port 40119... D+00000.242: backchannel <-- [0, 1] I+00.811: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)]/tests-44853.log" anymore. _ test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f63532af0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8') run = launch(console=internalConsole) target = , python_key = 'pythonPath' python = [], python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.589: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 50043... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py" in Session[1] using "internalConsole". I+00.003: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "50043" } I+00.010: Spawned Adapter[1] with PID=85773 D+00.010: watchdog-44857 <-- ['register_spawn', 85773, 'Adapter[1]'] D+00.011: watchdog-44857 --> ['ok'] D+00.012: Starting message loop for channel Adapter[1] I+00.012: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.102: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.103: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.105: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.105: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.105: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.107: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.108: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.108: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00.109: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.616: Adapter[1] --> { "seq": 4, "type": "event", "event": "initialized" } I+00.619: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 4, "type": "event", "event": "initialized"} D+00.619: Adapter[1] <-- { "seq": 3, "type": "request", "command": "configurationDone" } I+00.620: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} I+00.643: Incoming connection from BackChannel[1] accepted. D+00.663: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } I+00.666: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} == {"seq": 5, "type": "response", "command": "configurationDone", "request_seq": 3} I+00.666: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.667: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.670: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 6, "type": "response", "command": "launch", "request_seq": 2} I+00.670: Waiting for next {..., "type": "event", "event": "process", ...} D+00.672: Adapter[1] --> { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85816, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } I+00.674: Realized ({"seq": 4, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 7, "type": "event", "event": "process"} D+00.676: Adapter[1] --> { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.676: BackChannel[1] --> [0, 1] I+00.678: Ending Session[1]. D+00.680: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.682: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.683: Killing Adapter[1]. D+00.683: Closing Adapter[1] message stream D+00.686: Exiting message loop for channel Adapter[1]: No more messages I+00.686: Waiting for Adapter[1] with PID=85773 to exit. D+00.687: watchdog-44857 <-- ['unregister_spawn', 85773, 'Adapter[1]'] D+00.687: watchdog-44857 --> ['ok'] D+00.688: Closing BackChannel[1] client socket... D+00.688: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.718: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] passed. E+00.719: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] failed. I+00.720: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-85773.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.019: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.025: Listening for incoming Client connections on 127.0.0.1:33153... I+00000.026: Connecting to client over stdio... D+00000.027: Starting message loop for channel Client[1] D+00000.027: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.027: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.031: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.032: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.032: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.032: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.034: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:50999... I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:42995... I+00000.036: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '42995', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py'] I+00000.104: Accepted incoming Launcher connection from 127.0.0.1:38488. D+00000.106: Starting message loop for channel Launcher[1] D+00000.107: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "port": 50999, "adapterAccessToken": "940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb" } } D+00000.112: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85816, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } D+00000.114: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.115: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.116: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.363: Accepted incoming Server connection from 127.0.0.1:34542. D+00000.364: Starting message loop for channel Server[?] D+00000.364: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.365: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb" } } D+00000.366: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.408: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 85816, "ppid": 85802, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.408: No active debug session for parent process of Server[pid=85816]. I+00000.409: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=85816] to Session[1] D+00000.410: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.450: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb" } } D+00000.451: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.494: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 85816 } } } D+00000.496: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.496: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "isOutputRedirected": true } } D+00000.539: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "systemProcessId": 85816, "isLocalProcess": true, "startMethod": "launch" } } D+00000.540: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.541: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.541: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "event", "event": "initialized" } D+00000.545: Client[1] --> { "seq": 3, "type": "request", "command": "configurationDone" } D+00000.546: /handling #3 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.588: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.589: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } D+00000.589: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.589: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.590: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.590: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.590: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85816, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } I+00000.590: /handling #3 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.591: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.591: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.592: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-85802.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.022: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.022: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '42995', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py'] I+00000.022: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py'] I+00000.022: Connecting to adapter at 127.0.0.1:42995 D+00000.023: Starting message loop for channel Adapter D+00000.026: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "port": 50999, "adapterAccessToken": "940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb" } } I+00000.027: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:50999', '--configure-qt', 'none', '--adapter-access-token', '940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py'] Environment variables: {'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PBR_VERSION': '1.6.6', 'PYTHONDONTWRITEBYTECODE': '1', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HISTSIZE': '10000', 'HOSTNAME': 'devel-g2v', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PWD': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'SHLVL': '3', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'CONFIG_SITE': 'NONE', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'MAIL': '/var/spool/mail/tkloczko', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTEST_XDIST_WORKER_COUNT': '8', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] (call)', 'PYTHONUNBUFFERED': '1', 'PYTHONWARNINGS': 'error', 'DEBUGPY_TEST_SESSION_ID': '1', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/Session[1]', 'PYDEVD_DEBUG': 'True', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/Session[1]/pydevd.log', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '50043', 'PYTHONIOENCODING': 'utf-8'} I+00000.030: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=85816]. D+00000.031: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85816, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } I+00000.031: /handling #1 request "launch" from Adapter/ Capturing stdout of Debuggee[PID=85816]. I+00000.031: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stdout I+00000.032: /handling #1 request "launch" from Adapter/ Capturing stderr of Debuggee[PID=85816]. I+00000.032: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stderr D+00000.033: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.531: Exiting message loop for channel Adapter: No more messages D+00000.531: Closing Adapter message stream I+00000.531: /handling disconnect from Adapter/ Killing Debuggee[PID=85816] I+00000.532: Killing Debuggee[PID=85816] I+00000.532: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.85816.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:50999 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 85816, "ppid": 85802, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 85816}}, "pydevd_cmd_id": 502} 0.05s - Process LaunchRequest: { "arguments": { "args": [], "console": "internalConsole", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": true, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "python": [ "/usr/bin/python3" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py", "systemProcessId": 85816, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.04s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-85816.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.010: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.013: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.013: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:50999', '--configure-qt', 'none', '--adapter-access-token', '940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.013: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py'] D+00000.013: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.013: connect(('127.0.0.1', 50999), **{'access_token': '940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb'}) I+00000.013: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.013: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 50999, 'client_access_token': '940d5153ff2f8fcafe3c10d8e2b7e1bd8e06bccbcfbf8e16681b56bbc8db3bfb', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.213: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.213: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra8/code_to_debug.py' I+00000.220: Connecting backchannel-1 to port 50043... D+00000.221: backchannel <-- [0, 1] I+00.722: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)]/tests-44857.log" anymore. _ test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] _ [gw5] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f6a35e58ca0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7') run = launch(console=integratedTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.816: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/tests-44853.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.004: Listening for incoming connection from BackChannel[1] on port 53391... I+00.004: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]" I+00.005: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53391" } I+00.012: Spawned Adapter[1] with PID=85913 D+00.013: watchdog-44853 <-- ['register_spawn', 85913, 'Adapter[1]'] D+00.013: watchdog-44853 --> ['ok'] D+00.014: Starting message loop for channel Adapter[1] I+00.014: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.097: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.099: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.100: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.100: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.101: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.103: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.104: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.104: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.104: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.106: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "47003", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7" } } I+00.108: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "47003", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53391", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/Session[1]/adapter_endpoints" } I+00.116: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=85943 D+00.117: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 <-- ['register_spawn', 85943, 'Debuggee[1]'] D+00.117: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 --> ['ok'] I+00.117: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.118: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.118: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.653: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.655: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.656: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.656: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.689: Incoming connection from BackChannel[1] accepted. D+00.699: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.701: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.701: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.702: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.704: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.705: Waiting for next {..., "type": "event", "event": "process", ...} D+00.707: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85955, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "pointerSize": 64 } } I+00.710: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.711: BackChannel[1] --> [0, 1] D+00.711: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } I+00.713: Ending Session[1]. D+00.715: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.717: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.717: Killing Adapter[1]. I+00.718: Killing Debuggee[1]. D+00.718: Closing Adapter[1] message stream D+00.721: Exiting message loop for channel Adapter[1]: No more messages I+00.721: Waiting for Adapter[1] to close listener ports ... I+00.721: Waiting for Adapter[1] with PID=85913 to exit. D+00.722: watchdog-44853 <-- ['unregister_spawn', 85913, 'Adapter[1]'] D+00.723: watchdog-44853 --> ['ok'] D+00.723: Closing BackChannel[1] client socket... D+00.723: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.748: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] passed. E+00.748: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] failed. I+00.749: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-85913.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.015: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.020: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.020: Listening for incoming Client connections on 127.0.0.1:36163... I+00000.021: Connecting to client over stdio... D+00000.021: Starting message loop for channel Client[1] D+00000.022: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.022: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.027: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.027: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.027: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.030: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.030: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:47545... I+00000.031: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:47003... I+00000.031: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.031: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "47003", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7" } } D+00000.044: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.113: Accepted incoming Launcher connection from 127.0.0.1:44994. D+00000.114: Starting message loop for channel Launcher[1] D+00000.115: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "port": 47545, "adapterAccessToken": "a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21" } } D+00000.120: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85955, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "pointerSize": 64 } } D+00000.121: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.121: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.122: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.402: Accepted incoming Server connection from 127.0.0.1:43862. D+00000.403: Starting message loop for channel Server[?] D+00000.403: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.404: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21" } } D+00000.405: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.447: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 85959, "ppid": 85955, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.448: No active debug session for parent process of Server[pid=85959]. I+00000.448: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=85959] to Session[1] I+00000.448: /handling #2 request "launch" from Client[1]/ Launcher reported PID=85955, but server reported PID=85959 D+00000.449: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.490: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21" } } D+00000.491: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.533: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 85959 } } } D+00000.534: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.535: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "isOutputRedirected": false } } D+00000.577: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "systemProcessId": 85959, "isLocalProcess": true, "startMethod": "launch" } } D+00000.577: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.577: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.578: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.581: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.582: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.624: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.624: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.625: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.625: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.625: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.625: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85955, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "pointerSize": 64 } } I+00000.625: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.626: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.627: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.627: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.628: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-85945.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.016: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.021: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.021: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '47003', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py'] I+00000.021: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py'] I+00000.021: Connecting to adapter at 127.0.0.1:47003 D+00000.022: Starting message loop for channel Adapter D+00000.023: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "port": 47545, "adapterAccessToken": "a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21" } } I+00000.024: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:47545', '--configure-qt', 'none', '--adapter-access-token', 'a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw5', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '53391', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.027: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=85955]. D+00000.028: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 85955, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "pointerSize": 64 } } D+00000.028: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.554: Exiting message loop for channel Adapter: No more messages D+00000.554: Closing Adapter message stream I+00000.555: /handling disconnect from Adapter/ Killing Debuggee[PID=85955] I+00000.555: Killing Debuggee[PID=85955] I+00000.555: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.85959.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:47545 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 85959, "ppid": 85955, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 85959}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "integratedTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/custompy.sh" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py", "systemProcessId": 85959, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-85959.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.011: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.014: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.014: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:47545', '--configure-qt', 'none', '--adapter-access-token', 'a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.014: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py'] D+00000.014: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.014: connect(('127.0.0.1', 47545), **{'access_token': 'a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21'}) I+00000.014: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.015: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 47545, 'client_access_token': 'a7c4a5b850e79de4c7d3a8a81dc5df3799ac7e458b85d154f79a4683fd87ce21', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.218: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.218: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra7/code_to_debug.py' I+00000.228: Connecting backchannel-1 to port 53391... D+00000.230: backchannel <-- [0, 1] I+00.750: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)]/tests-44853.log" anymore. _ test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f6339b280> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9') run = launch(console=integratedTerminal) target = , python_key = 'pythonPath' python = [], python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.728: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.004: Starting Session[1] I+00.005: Listening for incoming connection from BackChannel[1] on port 56739... I+00.005: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.006: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]" I+00.006: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56739" } I+00.015: Spawned Adapter[1] with PID=85964 D+00.016: watchdog-44857 <-- ['register_spawn', 85964, 'Adapter[1]'] D+00.017: watchdog-44857 --> ['ok'] D+00.018: Starting message loop for channel Adapter[1] I+00.019: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.093: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.095: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.189: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.189: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.190: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.191: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.192: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.193: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00.193: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.194: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "33351", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9" } } I+00.196: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9" Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "33351", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56739", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/Session[1]/adapter_endpoints" } I+00.208: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=85980 D+00.209: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 <-- ['register_spawn', 85980, 'Debuggee[1]'] D+00.210: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 --> ['ok'] I+00.210: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.211: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.212: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.738: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.741: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.741: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.742: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.777: Incoming connection from BackChannel[1] accepted. D+00.784: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.787: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.787: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.787: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.790: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.790: Waiting for next {..., "type": "event", "event": "process", ...} D+00.792: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86002, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "pointerSize": 64 } } I+00.794: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.795: BackChannel[1] --> [0, 1] I+00.796: Ending Session[1]. D+00.797: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.800: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } E+00.802: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.803: Killing Adapter[1]. I+00.803: Killing Debuggee[1]. D+00.803: Closing Adapter[1] message stream D+00.806: Exiting message loop for channel Adapter[1]: No more messages I+00.806: Waiting for Adapter[1] to close listener ports ... I+00.807: Waiting for Adapter[1] with PID=85964 to exit. D+00.808: watchdog-44857 <-- ['unregister_spawn', 85964, 'Adapter[1]'] D+00.808: watchdog-44857 --> ['ok'] D+00.808: Closing BackChannel[1] client socket... D+00.808: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.841: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] passed. E+00.842: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] failed. I+00.843: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-85964.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.023: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:47361... I+00000.024: Connecting to client over stdio... D+00000.025: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.123: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.124: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.124: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.124: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.126: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00000.126: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:51667... I+00000.127: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:33351... I+00000.127: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.127: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "33351", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9" } } D+00000.145: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.221: Accepted incoming Launcher connection from 127.0.0.1:50080. D+00000.221: Starting message loop for channel Launcher[1] D+00000.222: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "port": 51667, "adapterAccessToken": "e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740" } } D+00000.227: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86002, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "pointerSize": 64 } } D+00000.228: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.229: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.229: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.495: Accepted incoming Server connection from 127.0.0.1:39090. D+00000.496: Starting message loop for channel Server[?] D+00000.496: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.497: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740" } } D+00000.498: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.539: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 86002, "ppid": 85980, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.539: No active debug session for parent process of Server[pid=86002]. I+00000.540: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=86002] to Session[1] D+00000.541: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.582: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740" } } D+00000.583: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.624: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 86002 } } } D+00000.625: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.626: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "isOutputRedirected": false } } D+00000.668: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "systemProcessId": 86002, "isLocalProcess": true, "startMethod": "launch" } } D+00000.669: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.669: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.670: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.674: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.675: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.717: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.717: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.717: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.718: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.718: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.718: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86002, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "pointerSize": 64 } } I+00000.718: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.718: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.718: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.719: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.719: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-85980.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '33351', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py'] I+00000.025: Connecting to adapter at 127.0.0.1:33351 D+00000.025: Starting message loop for channel Adapter D+00000.026: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "port": 51667, "adapterAccessToken": "e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740" } } I+00000.027: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:51667', '--configure-qt', 'none', '--adapter-access-token', 'e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py'] Environment variables: {'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PBR_VERSION': '1.6.6', 'PYTHONDONTWRITEBYTECODE': '1', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HISTSIZE': '10000', 'HOSTNAME': 'devel-g2v', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PWD': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'SHLVL': '3', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'CONFIG_SITE': 'NONE', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'MAIL': '/var/spool/mail/tkloczko', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTEST_XDIST_WORKER_COUNT': '8', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] (call)', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]', 'PYTHONUNBUFFERED': '1', 'PYTHONWARNINGS': 'error', 'DEBUGPY_TEST_SESSION_ID': '1', 'PYDEVD_DEBUG': 'True', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '56739', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/Session[1]/adapter_endpoints'} I+00000.031: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=86002]. D+00000.031: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86002, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "pointerSize": 64 } } D+00000.032: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.86002.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:51667 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 86002, "ppid": 85980, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 86002}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "integratedTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "python": [ "/usr/bin/python3" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py", "systemProcessId": 86002, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} 0.00s - No threads alive, finishing debug session 0.00s - pydevd.Writer received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py", line 269, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 410, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-86002.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.011: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:51667', '--configure-qt', 'none', '--adapter-access-token', 'e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.011: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 51667), **{'access_token': 'e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 51667, 'client_access_token': 'e8b333e8379a721a6a3a414c1595efd934b231ca2441b184ed802ad6b6164740', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.217: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.217: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra9/code_to_debug.py' I+00000.227: Connecting backchannel-1 to port 56739... D+00000.230: backchannel <-- [0, 1] I+00.845: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)]/tests-44857.log" anymore. _ test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] _ [gw5] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f6a35ca2940> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8') run = launch(console=externalTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.755: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/tests-44853.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 49123... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py" in Session[1] using "externalTerminal". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]" I+00.005: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "49123" } I+00.012: Spawned Adapter[1] with PID=86090 D+00.013: watchdog-44853 <-- ['register_spawn', 86090, 'Adapter[1]'] D+00.014: watchdog-44853 --> ['ok'] D+00.014: Starting message loop for channel Adapter[1] I+00.015: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.102: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.104: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.107: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.107: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.108: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.109: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.110: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.111: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.111: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.112: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "58243", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8" } } I+00.113: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "58243", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "49123", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/Session[1]/adapter_endpoints" } I+00.122: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=86128 D+00.122: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 <-- ['register_spawn', 86128, 'Debuggee[1]'] D+00.123: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44853 --> ['ok'] I+00.123: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.123: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.124: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.650: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.654: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.655: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.656: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.678: Incoming connection from BackChannel[1] accepted. D+00.699: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.701: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.701: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.701: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00.702: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86144, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } I+00.703: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.703: Waiting for next {..., "type": "event", "event": "process", ...} I+00.705: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.706: BackChannel[1] --> [0, 1] I+00.706: Ending Session[1]. D+00.707: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } E+00.708: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.709: Killing Adapter[1]. I+00.709: Killing Debuggee[1]. D+00.709: Closing Adapter[1] message stream E+00.711: Error while reading message headers: Adapter[1] --> b'Content-Length: 92' b'' Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 168, in _read_line line += reader.readline() ValueError: I/O operation on closed file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 208, in read_json line = read_line() File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 170, in _read_line raise NoMoreMessages(str(exc), stream=self) debugpy.common.messaging.NoMoreMessages: I/O operation on closed file Stack where logged: File "/usr/lib64/python3.8/threading.py", line 890, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib64/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 1295, in _parse_incoming_messages self._parse_incoming_message() File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 1363, in _parse_incoming_message message_dict = self.stream.read_json(decoder) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 215, in read_json log_message_and_reraise_exception( File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/messaging.py", line 199, in log_message_and_reraise_exception log.reraise_exception( File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 222, in reraise_exception _exception(format_string, *args, **kwargs) D+00.711: Exiting message loop for channel Adapter[1]: I/O operation on closed file I+00.712: Waiting for Adapter[1] to close listener ports ... I+00.712: Waiting for Adapter[1] with PID=86090 to exit. D+00.712: watchdog-44853 <-- ['unregister_spawn', 86090, 'Adapter[1]'] D+00.713: watchdog-44853 --> ['ok'] D+00.713: Closing BackChannel[1] client socket... D+00.713: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.731: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] passed. E+00.732: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] failed. I+00.733: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-86090.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.025: Listening for incoming Client connections on 127.0.0.1:33991... I+00000.025: Connecting to client over stdio... D+00000.026: Starting message loop for channel Client[1] D+00000.026: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.032: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.032: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.032: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.032: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.035: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:43827... I+00000.036: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:58243... I+00000.036: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.036: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "58243", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8" } } D+00000.048: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.120: Accepted incoming Launcher connection from 127.0.0.1:36538. D+00000.121: Starting message loop for channel Launcher[1] D+00000.122: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "port": 43827, "adapterAccessToken": "baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0" } } D+00000.129: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86144, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } D+00000.130: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.131: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.131: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.401: Accepted incoming Server connection from 127.0.0.1:54612. D+00000.401: Starting message loop for channel Server[?] D+00000.402: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.402: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0" } } D+00000.403: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.445: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 86150, "ppid": 86144, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.446: No active debug session for parent process of Server[pid=86150]. I+00000.446: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=86150] to Session[1] I+00000.446: /handling #2 request "launch" from Client[1]/ Launcher reported PID=86144, but server reported PID=86150 D+00000.446: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.487: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0" } } D+00000.488: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.529: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 86150 } } } D+00000.530: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.531: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "isOutputRedirected": false } } D+00000.572: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "systemProcessId": 86150, "isLocalProcess": true, "startMethod": "launch" } } D+00000.573: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.573: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.574: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.579: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.580: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.622: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.623: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.623: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.623: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.623: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.624: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.624: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86144, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } I+00000.624: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.625: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.625: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.626: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-86131.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.015: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.019: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '58243', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py'] I+00000.019: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py'] I+00000.020: Connecting to adapter at 127.0.0.1:58243 D+00000.020: Starting message loop for channel Adapter D+00000.022: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh" ], "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "port": 43827, "adapterAccessToken": "baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0" } } I+00000.023: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:43827', '--configure-qt', 'none', '--adapter-access-token', 'baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw5', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '49123', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.028: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=86144]. D+00000.029: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86144, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "pointerSize": 64 } } D+00000.030: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.535: Exiting message loop for channel Adapter: No more messages D+00000.535: Closing Adapter message stream I+00000.536: /handling disconnect from Adapter/ Killing Debuggee[PID=86144] I+00000.536: Killing Debuggee[PID=86144] I+00000.536: Debuggee[PID=86144] exited with code 247 I+00000.537: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.86150.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:43827 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 86150, "ppid": 86144, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 86150}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "externalTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/custompy.sh" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py", "systemProcessId": 86150, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} 0.00s - pydevd.Writer received kill signal ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-86150.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.010: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.012: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:43827', '--configure-qt', 'none', '--adapter-access-token', 'baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 43827), **{'access_token': 'baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 43827, 'client_access_token': 'baa2fff671882f3bf4342889c2178b7822bda5cf901d3a499e91d44bf4c6f4f0', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.208: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.209: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw5/test_custom_python_args_progra8/code_to_debug.py' I+00000.214: Connecting backchannel-1 to port 49123... D+00000.216: backchannel <-- [0, 1] I+00.734: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)]/tests-44853.log" anymore. _ test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f633e1f70> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10') run = launch(console=externalTerminal) target = , python_key = 'pythonPath' python = [], python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.852: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.004: Starting Session[1] I+00.005: Listening for incoming connection from BackChannel[1] on port 40747... I+00.005: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py" in Session[1] using "externalTerminal". I+00.006: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]" I+00.006: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "40747" } I+00.013: Spawned Adapter[1] with PID=86230 D+00.013: watchdog-44857 <-- ['register_spawn', 86230, 'Adapter[1]'] D+00.014: watchdog-44857 --> ['ok'] D+00.014: Starting message loop for channel Adapter[1] I+00.015: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.102: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.106: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.108: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.109: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.109: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.111: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.113: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.114: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00.115: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.116: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "45225", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10" } } I+00.117: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10" Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "45225", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "40747", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/Session[1]/adapter_endpoints" } I+00.126: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=86269 D+00.126: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 <-- ['register_spawn', 86269, 'Debuggee[1]'] D+00.127: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 --> ['ok'] I+00.127: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.127: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.128: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.650: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.654: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.655: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.655: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.691: Incoming connection from BackChannel[1] accepted. D+00.700: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.703: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} I+00.703: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.705: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.708: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.709: Waiting for next {..., "type": "event", "event": "process", ...} D+00.710: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86290, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "pointerSize": 64 } } I+00.714: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.714: BackChannel[1] --> [0, 1] I+00.715: Ending Session[1]. D+00.716: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } E+00.717: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.717: Killing Adapter[1]. I+00.718: Killing Debuggee[1]. D+00.718: Closing Adapter[1] message stream D+00.718: Exiting message loop for channel Adapter[1]: I/O operation on closed file I+00.719: Waiting for Adapter[1] to close listener ports ... I+00.719: Waiting for Adapter[1] with PID=86230 to exit. D+00.720: watchdog-44857 <-- ['unregister_spawn', 86230, 'Adapter[1]'] D+00.721: watchdog-44857 --> ['ok'] D+00.721: Closing BackChannel[1] client socket... D+00.721: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.739: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] passed. E+00.740: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] failed. I+00.741: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-86230.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.017: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.023: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: Listening for incoming Client connections on 127.0.0.1:53717... I+00000.024: Connecting to client over stdio... D+00000.025: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.026: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.032: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.033: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.033: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.033: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.037: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": "/usr/bin/python3", "debugOptions": [ "ShowReturnValue" ] } } I+00000.038: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:47005... I+00000.038: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:45225... I+00000.039: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.039: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "45225", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10" } } D+00000.052: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.121: Accepted incoming Launcher connection from 127.0.0.1:49746. D+00000.122: Starting message loop for channel Launcher[1] D+00000.123: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "port": 47005, "adapterAccessToken": "5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649" } } D+00000.129: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86290, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "pointerSize": 64 } } D+00000.130: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.130: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.131: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.398: Accepted incoming Server connection from 127.0.0.1:36918. D+00000.399: Starting message loop for channel Server[?] D+00000.400: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.400: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649" } } D+00000.401: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.443: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 86290, "ppid": 86269, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.444: No active debug session for parent process of Server[pid=86290]. I+00000.444: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=86290] to Session[1] D+00000.445: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.486: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649" } } D+00000.487: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.529: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 86290 } } } D+00000.530: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.530: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "isOutputRedirected": false } } D+00000.572: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "systemProcessId": 86290, "isLocalProcess": true, "startMethod": "launch" } } D+00000.572: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.573: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.573: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.578: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.579: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.622: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.623: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.623: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.624: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.624: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.624: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86290, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "pointerSize": 64 } } I+00000.624: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.625: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.626: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.626: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.627: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-86269.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.015: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.019: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '45225', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py'] I+00000.019: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py'] I+00000.020: Connecting to adapter at 127.0.0.1:45225 D+00000.020: Starting message loop for channel Adapter D+00000.022: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "python": [ "/usr/bin/python3" ], "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "port": 47005, "adapterAccessToken": "5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649" } } I+00000.023: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/usr/bin/python3', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:47005', '--configure-qt', 'none', '--adapter-access-token', '5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py'] Environment variables: {'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PBR_VERSION': '1.6.6', 'PYTHONDONTWRITEBYTECODE': '1', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'HISTCONTROL': 'ignoredups', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HISTSIZE': '10000', 'HOSTNAME': 'devel-g2v', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PWD': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'SHLVL': '3', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'CONFIG_SITE': 'NONE', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'MAIL': '/var/spool/mail/tkloczko', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', '_': '/usr/bin/pytest', 'LC_CTYPE': 'C.UTF-8', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTEST_XDIST_WORKER_COUNT': '8', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] (call)', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]', 'PYTHONUNBUFFERED': '1', 'PYTHONWARNINGS': 'error', 'DEBUGPY_TEST_SESSION_ID': '1', 'PYDEVD_DEBUG': 'True', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/Session[1]/pydevd.log', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '40747', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/Session[1]/adapter_endpoints'} I+00000.027: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=86290]. D+00000.027: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 86290, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "pointerSize": 64 } } D+00000.028: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.86290.log ~~~~~~~~~~~~~~~~~~~~~~ 0.02s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:47005 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 86290, "ppid": 86269, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 86290}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "externalTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "python": [ "/usr/bin/python3" ], "pythonArgs": [], "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py", "systemProcessId": 86290, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.Reader received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py", line 269, in _on_run) 0.00s - pydevd.Writer received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 410, in _on_run) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-86290.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.011: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.013: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.013: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:47005', '--configure-qt', 'none', '--adapter-access-token', '5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.013: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py'] D+00000.013: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.013: connect(('127.0.0.1', 47005), **{'access_token': '5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649'}) I+00000.013: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.014: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 47005, 'client_access_token': '5ccaad38123701ea16b4e8220ad7718ad210c7e40d35009b4457a990d3bd2649', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.220: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.220: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra10/code_to_debug.py' I+00000.230: Connecting backchannel-1 to port 40747... D+00000.233: backchannel <-- [0, 1] I+00.742: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)]/tests-44857.log" anymore. _ test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f63645c10> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14') run = launch(console=internalConsole) target = , python_key = 'pythonPath' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+01.590: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 43447... I+00.004: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py" in Session[1] using "internalConsole". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "43447" } I+00.011: Spawned Adapter[1] with PID=87439 D+00.012: watchdog-44857 <-- ['register_spawn', 87439, 'Adapter[1]'] D+00.012: watchdog-44857 --> ['ok'] D+00.013: Starting message loop for channel Adapter[1] I+00.013: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.085: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.087: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.089: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.090: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.091: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.093: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.094: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.095: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.096: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.650: Adapter[1] --> { "seq": 4, "type": "event", "event": "initialized" } I+00.653: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 4, "type": "event", "event": "initialized"} D+00.653: Adapter[1] <-- { "seq": 3, "type": "request", "command": "configurationDone" } I+00.654: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} I+00.689: Incoming connection from BackChannel[1] accepted. D+00.698: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } I+00.701: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 3, ...} == {"seq": 5, "type": "response", "command": "configurationDone", "request_seq": 3} I+00.701: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} D+00.702: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.705: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 6, "type": "response", "command": "launch", "request_seq": 2} I+00.705: Waiting for next {..., "type": "event", "event": "process", ...} D+00.707: Adapter[1] --> { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87499, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "pointerSize": 64 } } I+00.709: Realized ({"seq": 4, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 7, "type": "event", "event": "process"} D+00.711: BackChannel[1] --> [0, 1] I+00.713: Ending Session[1]. D+00.715: Adapter[1] --> { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } E+00.717: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) D+00.718: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } I+00.718: Killing Adapter[1]. D+00.719: Closing Adapter[1] message stream D+00.722: Exiting message loop for channel Adapter[1]: No more messages I+00.722: Waiting for Adapter[1] with PID=87439 to exit. D+00.723: watchdog-44857 <-- ['unregister_spawn', 87439, 'Adapter[1]'] D+00.723: watchdog-44857 --> ['ok'] D+00.723: Closing BackChannel[1] client socket... D+00.723: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.751: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] passed. E+00.751: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] failed. I+00.752: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-87439.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.014: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.019: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.019: Listening for incoming Client connections on 127.0.0.1:35905... I+00000.020: Connecting to client over stdio... D+00000.021: Starting message loop for channel Client[1] D+00000.021: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.021: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.027: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.028: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.028: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.029: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.032: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.032: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:51911... I+00000.033: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:52805... I+00000.033: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '52805', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py'] I+00000.122: Accepted incoming Launcher connection from 127.0.0.1:47328. D+00000.123: Starting message loop for channel Launcher[1] D+00000.124: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "port": 51911, "adapterAccessToken": "31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7" } } D+00000.129: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87499, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "pointerSize": 64 } } D+00000.130: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.131: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.132: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.409: Accepted incoming Server connection from 127.0.0.1:42266. D+00000.410: Starting message loop for channel Server[?] D+00000.410: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.412: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7" } } D+00000.412: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.454: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 87504, "ppid": 87499, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.454: No active debug session for parent process of Server[pid=87504]. I+00000.455: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=87504] to Session[1] I+00000.455: /handling #2 request "launch" from Client[1]/ Launcher reported PID=87499, but server reported PID=87504 D+00000.456: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.497: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7" } } D+00000.498: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.540: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 87504 } } } D+00000.541: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.542: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "isOutputRedirected": true } } D+00000.584: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "systemProcessId": 87504, "isLocalProcess": true, "startMethod": "launch" } } D+00000.585: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.586: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.586: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "event", "event": "initialized" } D+00000.590: Client[1] --> { "seq": 3, "type": "request", "command": "configurationDone" } D+00000.591: /handling #3 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.633: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.634: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 5, "type": "response", "request_seq": 3, "success": true, "command": "configurationDone" } D+00000.634: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.634: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.635: /handling #3 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.635: /handling #3 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87499, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "pointerSize": 64 } } I+00000.635: /handling #3 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.636: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.636: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.637: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.638: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-87476.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '52805', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py'] I+00000.025: Connecting to adapter at 127.0.0.1:52805 D+00000.025: Starting message loop for channel Adapter D+00000.027: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "port": 51911, "adapterAccessToken": "31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7" } } I+00000.028: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:51911', '--configure-qt', 'none', '--adapter-access-token', '31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '43447', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';', 'PYTHONIOENCODING': 'utf-8'} I+00000.031: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=87499]. D+00000.032: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87499, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "pointerSize": 64 } } I+00000.032: /handling #1 request "launch" from Adapter/ Capturing stdout of Debuggee[PID=87499]. I+00000.032: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stdout I+00000.033: /handling #1 request "launch" from Adapter/ Capturing stderr of Debuggee[PID=87499]. I+00000.033: /handling #1 request "launch" from Adapter/ Using encoding 'utf-8' for stderr D+00000.034: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.562: Exiting message loop for channel Adapter: No more messages D+00000.562: Closing Adapter message stream I+00000.562: /handling disconnect from Adapter/ Killing Debuggee[PID=87499] I+00000.562: Killing Debuggee[PID=87499] I+00000.562: Debuggee[PID=87499] exited with code 247 I+00000.563: Waiting for remaining stdout of Debuggee[PID=87499]. I+00000.563: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.87504.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.01s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:51911 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 87504, "ppid": 87499, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 87504}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "internalConsole", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": true, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh" ], "pythonArgs": [], "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/custompy.sh", "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py", "systemProcessId": 87504, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - No threads alive, finishing debug session 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 22, "body": {}, "pydevd_cmd_id": 129} ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-87504.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.011: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:51911', '--configure-qt', 'none', '--adapter-access-token', '31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.011: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py'] D+00000.011: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.011: connect(('127.0.0.1', 51911), **{'access_token': '31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7'}) I+00000.011: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.011: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 51911, 'client_access_token': '31c4ec0c3d1d365e02d47f26243211aeb144957eddfa56e677dea5f21dca22e7', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.217: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.217: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra14/code_to_debug.py' I+00000.227: Connecting backchannel-1 to port 43447... D+00000.230: backchannel <-- [0, 1] I+00.753: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)]/tests-44857.log" anymore. _ test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] _ [gw6] linux -- Python 3.8.16 /usr/bin/python3 pyfile = .factory at 0x7f8f632870d0> tmpdir = local('/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15') run = launch(console=integratedTerminal) target = , python_key = 'pythonPath' python = ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() with run(session, target(code_to_debug)): pass > assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] E assert [0, 1] == [False, False] E At index 1 diff: 1 != False E Use -v to get more diff tests/debugpy/test_run.py:284: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+00.760: Also logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/tests-44857.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] started. ----------------------------- Captured stderr call ----------------------------- I+00.002: Starting Session[1] I+00.003: Listening for incoming connection from BackChannel[1] on port 60073... I+00.003: Launching program "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.004: Logs for Session[1] will be in "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]" I+00.004: Spawning Adapter[1]: Command line: [ "/usr/bin/python3", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "60073" } I+00.011: Spawned Adapter[1] with PID=87606 D+00.012: watchdog-44857 <-- ['register_spawn', 87606, 'Adapter[1]'] D+00.012: watchdog-44857 --> ['ok'] D+00.013: Starting message loop for channel Adapter[1] I+00.014: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+00.092: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00.096: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } I+00.097: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+00.098: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } I+00.098: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+00.099: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+00.100: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+00.101: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00.101: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+00.103: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "37587", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15" } } I+00.104: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15" Command line: [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "37587", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py" ] Environment variables: { "PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin", "LD_LIBRARY_PATH": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64", "PYTHONPATH": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages", "PDM_PEP517_SCM_VERSION": "1.6.6", "PBR_VERSION": "1.6.6", "PYTHONDONTWRITEBYTECODE": "1", "SETUPTOOLS_SCM_PRETEND_VERSION": "1.6.6", "SHELL": "/bin/bash", "RPM_SOURCE_DIR": "/home/tkloczko/rpmbuild/SOURCES", "HISTCONTROL": "ignoredups", "PKG_CONFIG_PATH": ":/usr/lib64/pkgconfig:/usr/share/pkgconfig", "HISTSIZE": "10000", "HOSTNAME": "devel-g2v", "FFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "PWD": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6", "LOGNAME": "tkloczko", "XDG_SESSION_TYPE": "tty", "CXX": "/usr/bin/g++", "CXXFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_ARCH": "x86_64", "LDFLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "HOME": "/home/tkloczko", "LANG": "C", "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:", "RPM_LD_FLAGS": "-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1", "RPM_PACKAGE_RELEASE": "2.fc35", "RPM_OS": "linux", "FCFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "USER": "tkloczko", "AR": "/usr/bin/gcc-ar", "SHLVL": "3", "RPM_BUILD_DIR": "/home/tkloczko/rpmbuild/BUILD", "NM": "/usr/bin/gcc-nm", "RPM_OPT_FLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection", "XDG_SESSION_ID": "28", "VALAFLAGS": "-g", "RPM_DOC_DIR": "/usr/share/doc", "XDG_RUNTIME_DIR": "/run/user/1000", "ASMFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "RPM_PACKAGE_VERSION": "1.6.6", "FC": "/usr/bin/gfortran", "CONFIG_SITE": "NONE", "CC": "/usr/bin/gcc", "CFLAGS": "-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none", "MAIL": "/var/spool/mail/tkloczko", "RPM_BUILD_NCPUS": "48", "RPM_PACKAGE_NAME": "python-debugpy", "RANLIB": "/usr/bin/gcc-ranlib", "RPM_BUILD_ROOT": "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64", "OLDPWD": "/home/tkloczko/rpmbuild/BUILD", "_": "/usr/bin/pytest", "LC_CTYPE": "C.UTF-8", "PYTEST_XDIST_TESTRUNUID": "37ff6d274571497681957aab350e10b1", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "60073", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/Session[1]/adapter_endpoints" } I+00.114: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=87629 D+00.115: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 <-- ['register_spawn', 87629, 'Debuggee[1]'] D+00.115: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-44857 --> ['ok'] I+00.115: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr I+00.116: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout D+00.117: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+00.632: Adapter[1] --> { "seq": 5, "type": "event", "event": "initialized" } I+00.636: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 5, "type": "event", "event": "initialized"} D+00.637: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+00.637: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} I+00.674: Incoming connection from BackChannel[1] accepted. D+00.681: Adapter[1] --> { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } I+00.684: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 6, "type": "response", "command": "configurationDone", "request_seq": 4} D+00.685: Adapter[1] --> { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } I+00.685: Waiting for {..., "type": "response", "command": "launch", "request_seq": 2, ...} I+00.689: Realized {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 7, "type": "response", "command": "launch", "request_seq": 2} I+00.689: Waiting for next {..., "type": "event", "event": "process", ...} D+00.690: Adapter[1] --> { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87653, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "pointerSize": 64 } } I+00.693: Realized ({"seq": 5, "type": "event", "event": "initialized"} >> {..., "type": "event", "event": "process", ...}): where {..., "type": "event", "event": "process", ...} == {"seq": 8, "type": "event", "event": "process"} D+00.694: Adapter[1] --> { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00.695: BackChannel[1] --> [0, 1] I+00.696: Ending Session[1]. E+00.698: Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] AssertionError: assert [0, 1] == [False, False] At index 1 diff: 1 != False Use -v to get more diff Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1554, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1060, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn reply.run() File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 220, in run self._result = func(*args, **kwargs) File "/usr/lib/python3.8/site-packages/execnet/gateway_base.py", line 1084, in executetask do_exec(co, loc) # noqa File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 342, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 146, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3.8/site-packages/xdist/remote.py", line 161, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 220, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 259, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 260, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call item.runtest() File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 1794, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.8/site-packages/_pytest/python.py", line 200, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debugpy/test_run.py", line 284, in test_custom_python_args assert backchannel.receive() == ["-O" in python_cmd, "-B" in python_cmd] File "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/debug/session.py", line 236, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+00.698: Killing Adapter[1]. D+00.698: Adapter[1] --> { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } I+00.700: Killing Debuggee[1]. D+00.700: Closing Adapter[1] message stream D+00.702: Exiting message loop for channel Adapter[1]: No more messages I+00.703: Waiting for Adapter[1] to close listener ports ... I+00.703: Waiting for Adapter[1] with PID=87606 to exit. D+00.704: watchdog-44857 <-- ['unregister_spawn', 87606, 'Adapter[1]'] D+00.704: watchdog-44857 --> ['ok'] D+00.705: Closing BackChannel[1] client socket... D+00.705: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+00.744: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] passed. E+00.745: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] failed. I+00.747: Dumping logs from "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]" ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.adapter-87606.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.016: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.022: debugpy.adapter startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.023: Listening for incoming Client connections on 127.0.0.1:42123... I+00000.024: Connecting to client over stdio... D+00000.025: Starting message loop for channel Client[1] D+00000.025: Client[1] <-- { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.6.6" } } } D+00000.025: Client[1] <-- { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.6.6" } } } D+00000.031: Client[1] --> { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.032: /handling #1 request "initialize" from Client[1]/ Capabilities: { "supportsVariableType": true, "supportsVariablePaging": false, "supportsRunInTerminalRequest": true, "supportsMemoryReferences": false, "supportsArgsCanBeInterpretedByShell": true } D+00000.032: /handling #1 request "initialize" from Client[1]/ Expectations: { "locale": "en-US", "linesStartAt1": true, "columnsStartAt1": true, "pathFormat": "path" } D+00000.033: /handling #1 request "initialize" from Client[1]/ Client[1] <-- { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+00000.034: Client[1] --> { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Server connections on 127.0.0.1:40571... I+00000.035: /handling #2 request "launch" from Client[1]/ Listening for incoming Launcher connections on 127.0.0.1:37587... I+00000.036: /handling #2 request "launch" from Client[1]/ Session[1] spawning launcher via "runInTerminal" request. D+00000.036: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher", "37587", "--", "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15" } } D+00000.050: Client[1] --> { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } I+00000.132: Accepted incoming Launcher connection from 127.0.0.1:36354. D+00000.133: Starting message loop for channel Launcher[1] D+00000.133: /handling #2 request "launch" from Client[1]/ Launcher[1] <-- { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "port": 40571, "adapterAccessToken": "de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc" } } D+00000.139: Launcher[1] --> { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87653, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "pointerSize": 64 } } D+00000.140: Launcher[1] --> { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.140: /handling #1 event "process" from Launcher[1]/ Propagation deferred. I+00000.141: /handling #2 request "launch" from Client[1]/ Session[1] waiting for connection from debug server... I+00000.389: Accepted incoming Server connection from 127.0.0.1:38016. D+00000.389: Starting message loop for channel Server[?] D+00000.390: Server[?] <-- { "seq": 1, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.391: Server[?] --> { "pydevd_cmd_id": 502, "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc" } } D+00000.392: Server[?] <-- { "seq": 2, "type": "request", "command": "pydevdSystemInfo" } D+00000.434: Server[?] --> { "pydevd_cmd_id": 502, "seq": 4, "type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": { "python": { "version": "3.8.16final0", "implementation": { "name": "cpython", "version": "3.8.16final0", "description": "CPython" } }, "platform": { "name": "linux" }, "process": { "pid": 87659, "ppid": 87653, "executable": "/usr/bin/python3", "bitness": 64 }, "pydevd": { "usingCython": true, "usingFrameEval": false } } } I+00000.434: No active debug session for parent process of Server[pid=87659]. I+00000.435: /handling #2 request "launch" from Client[1]/ Attaching Server[pid=87659] to Session[1] I+00000.435: /handling #2 request "launch" from Client[1]/ Launcher reported PID=87653, but server reported PID=87659 D+00000.436: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 3, "type": "request", "command": "pydevdAuthorize", "arguments": { "debugServerAccessToken": null } } D+00000.477: Server[1] --> { "pydevd_cmd_id": 502, "seq": 6, "type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": { "clientAccessToken": "de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc" } } D+00000.478: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 4, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true } } D+00000.520: Server[1] --> { "pydevd_cmd_id": 502, "seq": 8, "type": "response", "request_seq": 4, "success": true, "command": "initialize", "body": { "supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": { "processId": 87659 } } } D+00000.521: /handling #2 request "launch" from Client[1]/ Capabilities: { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDataBreakpoints": false, "supportsDelayedStackTraceLoading": true, "supportsDisassembleRequest": false, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsGotoTargetsRequest": true, "supportsHitConditionalBreakpoints": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsReadMemoryRequest": false, "supportsRestartFrame": false, "supportsRestartRequest": false, "supportsSetExpression": true, "supportsSetVariable": true, "supportsStepBack": false, "supportsStepInTargetsRequest": true, "supportsTerminateRequest": true, "supportsTerminateThreadsRequest": false, "supportsValueFormattingOptions": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false } ], "additionalModuleColumns": [], "supportedChecksumAlgorithms": [] } D+00000.521: /handling #2 request "launch" from Client[1]/ Server[1] <-- { "seq": 5, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "isOutputRedirected": false } } D+00000.563: Server[1] --> { "pydevd_cmd_id": 204, "seq": 10, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "systemProcessId": 87659, "isLocalProcess": true, "startMethod": "launch" } } D+00000.564: Server[1] --> { "pydevd_cmd_id": 502, "seq": 12, "type": "event", "event": "initialized" } D+00000.565: Server[1] --> { "pydevd_cmd_id": 502, "seq": 14, "type": "response", "request_seq": 5, "success": true, "command": "launch" } D+00000.565: /handling #2 request "launch" from Client[1]/ Client[1] <-- { "seq": 5, "type": "event", "event": "initialized" } D+00000.571: Client[1] --> { "seq": 4, "type": "request", "command": "configurationDone" } D+00000.571: /handling #4 request "configurationDone" from Client[1]/ Server[1] <-- { "seq": 6, "type": "request", "command": "configurationDone" } D+00000.614: Server[1] --> { "pydevd_cmd_id": 502, "seq": 16, "type": "response", "request_seq": 6, "success": true, "command": "configurationDone" } D+00000.614: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 6, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+00000.615: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 7, "type": "response", "request_seq": 2, "success": true, "command": "launch" } D+00000.615: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred events to Client[1]... D+00000.615: /handling #4 request "configurationDone" from Client[1]/ Propagating deferred #1 event "process" from Launcher[1] D+00000.615: /handling #4 request "configurationDone" from Client[1]/ Client[1] <-- { "seq": 8, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87653, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "pointerSize": 64 } } I+00000.615: /handling #4 request "configurationDone" from Client[1]/ All deferred events propagated to Client[1]. D+00000.616: Server[1] --> { "pydevd_cmd_id": 103, "seq": 18, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.616: /handling #18 event "thread" from Server[1]/ Client[1] <-- { "seq": 9, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } D+00000.617: Server[1] --> { "pydevd_cmd_id": 104, "seq": 20, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+00000.617: /handling #20 event "thread" from Server[1]/ Client[1] <-- { "seq": 10, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } ~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.launcher-87632.log ~~~~~~~~~~~~~~~~~~~~~ I+00000.018: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.024: debugpy.launcher startup environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.024: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '37587', '--', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py'] I+00000.024: sys.argv after patching: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py'] I+00000.025: Connecting to adapter at 127.0.0.1:37587 D+00000.025: Starting message loop for channel Adapter D+00000.026: Adapter --> { "seq": 1, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ], "pythonArgs": [], "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh" ], "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "port": 40571, "adapterAccessToken": "de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc" } } I+00000.027: /handling #1 request "launch" from Adapter/ Spawning debuggee process: Command line: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:40571', '--configure-qt', 'none', '--adapter-access-token', 'de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py'] Environment variables: {'SHELL': '/bin/bash', 'RPM_SOURCE_DIR': '/home/tkloczko/rpmbuild/SOURCES', 'PYTHONUNBUFFERED': '1', 'HISTCONTROL': 'ignoredups', 'SETUPTOOLS_SCM_PRETEND_VERSION': '1.6.6', 'PDM_PEP517_SCM_VERSION': '1.6.6', 'PKG_CONFIG_PATH': ':/usr/lib64/pkgconfig:/usr/share/pkgconfig', 'HOSTNAME': 'devel-g2v', 'HISTSIZE': '10000', 'FFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'PYTEST_CURRENT_TEST': 'tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] (call)', 'PWD': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15', 'LOGNAME': 'tkloczko', 'XDG_SESSION_TYPE': 'tty', 'CXX': '/usr/bin/g++', 'CXXFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', '_': '/usr/bin/env', 'RPM_ARCH': 'x86_64', 'LDFLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'HOME': '/home/tkloczko', 'LANG': 'C', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:', 'RPM_LD_FLAGS': '-Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1', 'PBR_VERSION': '1.6.6', 'DEBUGPY_LOG_DIR': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]', 'RPM_PACKAGE_RELEASE': '2.fc35', 'RPM_OS': 'linux', 'FCFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib/python3.8/site-packages', 'TERM': 'xterm-256color', 'DEBUGPY_ADAPTER_ENDPOINTS': '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/Session[1]/adapter_endpoints', 'USER': 'tkloczko', 'AR': '/usr/bin/gcc-ar', 'PYDEVD_DEBUG_FILE': '/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/Session[1]/pydevd.log', 'PYTEST_XDIST_TESTRUNUID': '37ff6d274571497681957aab350e10b1', 'SHLVL': '4', 'RPM_BUILD_DIR': '/home/tkloczko/rpmbuild/BUILD', 'NM': '/usr/bin/gcc-nm', 'RPM_OPT_FLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection', 'XDG_SESSION_ID': '28', 'PYTEST_XDIST_WORKER': 'gw6', 'PYTHONDONTWRITEBYTECODE': '1', 'VALAFLAGS': '-g', 'RPM_DOC_DIR': '/usr/share/doc', 'LD_LIBRARY_PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64', 'LC_CTYPE': 'C.UTF-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'ASMFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'RPM_PACKAGE_VERSION': '1.6.6', 'FC': '/usr/bin/gfortran', 'PYTEST_XDIST_WORKER_COUNT': '8', 'DEBUGPY_TEST_BACKCHANNEL_PORT': '60073', 'CONFIG_SITE': 'NONE', 'PATH': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/bin:/usr/bin:/usr/local/sbin:/usr/sbin', 'CC': '/usr/bin/gcc', 'CFLAGS': '-O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none', 'PYTHONWARNINGS': 'error', 'MAIL': '/var/spool/mail/tkloczko', 'DEBUGPY_TEST_SESSION_ID': '1', 'RPM_BUILD_NCPUS': '48', 'RPM_PACKAGE_NAME': 'python-debugpy', 'RANLIB': '/usr/bin/gcc-ranlib', 'PYDEVD_DEBUG': 'True', 'RPM_BUILD_ROOT': '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64', 'OLDPWD': '/home/tkloczko/rpmbuild/BUILD', 'DEBUGPY_CUSTOM_PYTHON': ';'} I+00000.030: /handling #1 request "launch" from Adapter/ Spawned Debuggee[PID=87653]. D+00000.031: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 1, "type": "event", "event": "process", "body": { "startMethod": "launch", "isLocalProcess": true, "systemProcessId": 87653, "name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "pointerSize": 64 } } D+00000.031: /handling #1 request "launch" from Adapter/ Adapter <-- { "seq": 2, "type": "response", "request_seq": 1, "success": true, "command": "launch" } D+00000.528: Exiting message loop for channel Adapter: No more messages D+00000.529: Closing Adapter message stream I+00000.529: /handling disconnect from Adapter/ Killing Debuggee[PID=87653] I+00000.529: Killing Debuggee[PID=87653] I+00000.529: Not logging to "" anymore. ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.pydevd.87659.log ~~~~~~~~~~~~~~~~~~~~~~ 0.01s - Using Cython speedups 0.03s - Using GEVENT_SUPPORT: False 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False 0.00s - pydevd __file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False 0.02s - pydevd: Use libraries filter: False 0.00s - IDE_PROJECT_ROOTS [] 0.00s - Collecting default library roots. 0.00s - LIBRARY_ROOTS ['/home/tkloczko/.local/lib/python3.8/site-packages', '/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/usr/lib64/python3.8', '/usr/lib64/python3.8/site-packages'] 0.00s - Apply debug mode: debugpy-dap 0.00s - Preimport: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/..;debugpy._vendored.force_pydevd 0.00s - Connecting to 127.0.0.1:40571 0.00s - Connected. 0.00s - Applying patching to hide pydevd threads (Py3 version). 0.00s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 1, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 1, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc"}, "seq": 2, "pydevd_cmd_id": 502} 0.00s - Process PydevdSystemInfoRequest: { "arguments": {}, "command": "pydevdSystemInfo", "seq": 2, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 2, "success": true, "command": "pydevdSystemInfo", "body": {"python": {"version": "3.8.16final0", "implementation": {"name": "cpython", "version": "3.8.16final0", "description": "CPython"}}, "platform": {"name": "linux"}, "process": {"pid": 87659, "ppid": 87653, "executable": "/usr/bin/python3", "bitness": 64}, "pydevd": {"usingCython": true, "usingFrameEval": false}}, "seq": 4, "pydevd_cmd_id": 502} 0.04s - Process PydevdAuthorizeRequest: { "arguments": {}, "command": "pydevdAuthorize", "seq": 3, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 3, "success": true, "command": "pydevdAuthorize", "body": {"clientAccessToken": "de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc"}, "seq": 6, "pydevd_cmd_id": 502} 0.04s - Process InitializeRequest: { "arguments": { "adapterID": "test", "clientID": "vscode", "columnsStartAt1": true, "linesStartAt1": true, "pathFormat": "path", "supportsArgsCanBeInterpretedByShell": true, "supportsRunInTerminalRequest": true, "supportsVariableType": true }, "command": "initialize", "seq": 4, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 4, "success": true, "command": "initialize", "seq": 8, "body": {"supportsConfigurationDoneRequest": true, "supportsFunctionBreakpoints": true, "supportsConditionalBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsEvaluateForHovers": true, "exceptionBreakpointFilters": [{"filter": "raised", "label": "Raised Exceptions", "default": false}, {"filter": "uncaught", "label": "Uncaught Exceptions", "default": true}, {"filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false}], "supportsStepBack": false, "supportsSetVariable": true, "supportsRestartFrame": false, "supportsGotoTargetsRequest": true, "supportsStepInTargetsRequest": true, "supportsCompletionsRequest": true, "completionTriggerCharacters": [], "supportsModulesRequest": true, "additionalModuleColumns": [], "supportedChecksumAlgorithms": [], "supportsRestartRequest": false, "supportsExceptionOptions": true, "supportsValueFormattingOptions": true, "supportsExceptionInfoRequest": true, "supportTerminateDebuggee": true, "supportsDelayedStackTraceLoading": true, "supportsLoadedSourcesRequest": false, "supportsLogPoints": true, "supportsTerminateThreadsRequest": false, "supportsSetExpression": true, "supportsTerminateRequest": true, "supportsDataBreakpoints": false, "supportsReadMemoryRequest": false, "supportsDisassembleRequest": false, "supportsClipboardContext": true, "supportsDebuggerProperties": true, "pydevd": {"processId": 87659}}, "pydevd_cmd_id": 502} 0.04s - Process LaunchRequest: { "arguments": { "args": [], "console": "integratedTerminal", "debugOptions": [ "ShowReturnValue" ], "internalConsoleOptions": "neverOpen", "isOutputRedirected": false, "justMyCode": true, "name": "Test", "processName": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "program": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "python": [ "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh" ], "pythonArgs": [], "pythonPath": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/custompy.sh", "type": "python" }, "command": "launch", "seq": 5, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py", "systemProcessId": 87659, "isLocalProcess": true, "startMethod": "launch"}, "seq": 10, "pydevd_cmd_id": 204} 0.00s - pydevd: Use libraries filter: True 0.00s - Show return values: True 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "event", "event": "initialized", "seq": 12, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 14, "pydevd_cmd_id": 502} 0.05s - Process ConfigurationDoneRequest: { "arguments": {}, "command": "configurationDone", "seq": 6, "type": "request" } 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 6, "success": true, "command": "configurationDone", "seq": 16, "pydevd_cmd_id": 502} 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 18, "pydevd_cmd_id": 103} 0.00s - Successfully Loaded helper lib to set tracing to all threads. 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/posixpath.py 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _read_line 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - wait 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/queue.py - get 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py - _on_run 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py - run 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap_inner 0.00s - SKIP set tracing of frame: /usr/lib64/python3.8/threading.py - _bootstrap 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - set_tracing_for_untraced_contexts 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - _locked_settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_code 0.00s - Set tracing of frame: /usr/lib64/python3.8/runpy.py - _run_module_as_main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd.py - settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - _settrace 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - connect 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/api.py - debug 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/public_api.py - wrapper 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - start_debugging 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - run_file 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py - main 0.00s - SKIP set tracing of frame: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py - 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/genericpath.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/site.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/sysconfig.py 0.01s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/os.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/pkgutil.py 0.00s - File traced: /tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.8/site-packages/_distutils_hack/__init__.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/_collections_abc.py 0.00s - File traced: /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/contextlib.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/functools.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/json/encoder.py 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib64/python3.8/runpy.py 0.00s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 20, "pydevd_cmd_id": 104} 0.03s - ReaderThread: empty contents received (len(line) == 0). 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py", line 301, in _terminate_on_socket_close) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CheckAliveThread received kill signal 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: 0.00s - pydevd.CommandThread received kill signal 0.00s - No threads alive, finishing debug session 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: ~~~~~~~~~~~~~~~~~~~~~ Session[1]/debugpy.server-87659.log ~~~~~~~~~~~~~~~~~~~~~~ I+00000.009: Linux-6.1.10-200.fc37.x86_64-x86_64-with-glibc2.34 x86_64 CPython 3.8.16 (64-bit) debugpy 1.6.6 I+00000.011: Initial environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.012: sys.argv before parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:40571', '--configure-qt', 'none', '--adapter-access-token', 'de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc', '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py'] after parsing: ['/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy'] D+00000.012: sys.argv after patching: ['/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py'] D+00000.012: configure({'qt': 'none', 'subProcess': True}, {}) D+00000.012: connect(('127.0.0.1', 40571), **{'access_token': 'de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc'}) I+00000.012: Initial debug configuration: { "qt": "none", "subProcess": true, "python": "/usr/bin/python3", "pythonEnv": {} } D+00000.012: pydevd.settrace(*(), **{'host': '127.0.0.1', 'port': 40571, 'client_access_token': 'de3486918c63dcccc79a545415dd5cdf253b8b2a7eebe0d008a45775c342ecfc', 'suspend': False, 'patch_multiprocessing': True, 'dont_trace_start_patterns': ('/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy',), 'dont_trace_end_patterns': ('debugpy_launcher.py',)}) I+00000.221: Pre-launch environment: System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/__init__.py(/home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py) I+00000.221: Running file '/tmp/pytest-of-tkloczko/pytest-2/popen-gw6/test_custom_python_args_progra15/code_to_debug.py' I+00000.231: Connecting backchannel-1 to port 60073... D+00000.234: backchannel <-- [0, 1] I+00.750: Not logging to "/home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64/tests/debugpy/test_run.py/test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)]/tests-44857.log" anymore. I+00.402: debugpy and pydevd logs will be under /home/tkloczko/rpmbuild/BUILD/debugpy-1.6.6/tests/_logs/3.8-64 I+00.464: Test environment for tests-44832 System paths: sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages site.getusersitepackages(): /home/tkloczko/.local/lib/python3.8/site-packages sys.path (site-packages): /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages /usr/lib/python3.8/site-packages /usr/lib64/python3.8/site-packages sysconfig.get_path('stdlib'): /usr/lib64/python3.8 sysconfig.get_path('platstdlib'): /usr/lib64/python3.8 sysconfig.get_path('purelib'): /usr/lib/python3.8/site-packages sysconfig.get_path('platlib'): /usr/lib64/python3.8/site-packages sysconfig.get_path('include'): /usr/include/python3.8 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib64/python3.8/os.py threading.__file__: /usr/lib64/python3.8/threading.py debugpy.__file__: /home/tkloczko/rpmbuild/BUILDROOT/python-debugpy-1.6.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages/debugpy/__init__.py __________________________ tests/debugpy/test_run.py ___________________________ [gw6] linux -- Python 3.8.16 /usr/bin/python3 worker 'gw6' crashed while running 'tests/debugpy/test_run.py::test_nodebug[module-launch(console=externalTerminal)]' =========================== short test summary info ============================ SKIPPED [3] tests/debugpy/test_args.py:40: Shell expansion is not supported for "internalConsole" SKIPPED [5] tests/debugpy/test_multiproc.py:48: https://github.com/microsoft/ptvsd/issues/1887 SKIPPED [3] tests/debugpy/test_multiproc.py:476: job objects are specific to Windows SKIPPED [3] tests/debugpy/test_run.py:233: Skipped FAILED tests/debugpy/test_run.py::test_nodebug[module-launch(console=integratedTerminal)] FAILED tests/debugpy/test_gevent.py::test_gevent[program-launch] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=internalConsole)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-None-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=internalConsole)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=internalConsole)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-None-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=internalConsole)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy-None-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_nodebug[module-launch(console=externalTerminal)] =========== 21 failed, 1153 passed, 14 skipped in 235.74s (0:03:55) ============ error: Bad exit status from /var/tmp/rpm-tmp.7dkJxS (%check) RPM build errors: Downloading https://github.com/microsoft/debugpy//archive/v1.6.6/python-debugpy-1.6.6.tar.gz to /home/tkloczko/rpmbuild/SOURCES/python-debugpy-1.6.6.tar.gz Bad exit status from /var/tmp/rpm-tmp.7dkJxS (%check) real 4m46.595s user 12m59.658s sys 3m5.493s === RESTORE build env Packages installed: 169