Opened 15 years ago

Closed 15 years ago

#21084 closed defect (fixed)

Repeated verbose output when an error occurs

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.2
Component: base Version: 1.8.0
Keywords: Cc:
Port:

Description

In MacPorts 1.8.0, I now see the last 30 lines of verbose output repeated twice when an error occurs. I don't need it repeated twice, or even once (like 1.7.1 already did).

For example when testing pure 0.34 on Snow Leopard with debug output:

$ sudo port -d test pure
[snip]
--->  Testing pure
DEBUG: Executing org.macports.test (pure)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pure/work/pure-0.34" && /usr/bin/make check'
Running tests.
prelude.pure: passed
test001.pure: FAILED
test002.pure: passed
test003.pure: passed
test004.pure: FAILED
test005.pure: passed
test006.pure: passed
test007.pure: FAILED
test008.pure: FAILED
test009.pure: FAILED
test010.pure: FAILED
test011.pure: FAILED
test012.pure: passed
test013.pure: passed
test014.pure: FAILED
test015.pure: FAILED
test016.pure: passed
test017.pure: FAILED
test018.pure: FAILED
test019.pure: FAILED
test020.pure: FAILED
test021.pure: FAILED
test022.pure: FAILED
test023.pure: FAILED
test024.pure: FAILED
test025.pure: FAILED
test026.pure: passed
test027.pure: FAILED
test028.pure: FAILED
test029.pure: passed
test030.pure: passed
test031.pure: FAILED
test032.pure: passed
test033.pure: passed
test034.pure: FAILED
test035.pure: passed
test036.pure: FAILED
test037.pure: passed
test038.pure: passed
test039.pure: passed
test040.pure: passed
test041.pure: FAILED
test042.pure: FAILED
make: *** [check] Error 1
Error: Target org.macports.test returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pure/work/pure-0.34" && /usr/bin/make check " returned error 2
Command output: test014.pure: FAILED
test015.pure: FAILED
test016.pure: passed
test017.pure: FAILED
test018.pure: FAILED
test019.pure: FAILED
test020.pure: FAILED
test021.pure: FAILED
test022.pure: FAILED
test023.pure: FAILED
test024.pure: FAILED
test025.pure: FAILED
test026.pure: passed
test027.pure: FAILED
test028.pure: FAILED
test029.pure: passed
test030.pure: passed
test031.pure: FAILED
test032.pure: passed
test033.pure: passed
test034.pure: FAILED
test035.pure: passed
test036.pure: FAILED
test037.pure: passed
test038.pure: passed
test039.pure: passed
test040.pure: passed
test041.pure: FAILED
test042.pure: FAILED
make: *** [check] Error 1

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_pure/work/pure-0.34" && /usr/bin/make check " returned error 2
Command output: test014.pure: FAILED
test015.pure: FAILED
test016.pure: passed
test017.pure: FAILED
test018.pure: FAILED
test019.pure: FAILED
test020.pure: FAILED
test021.pure: FAILED
test022.pure: FAILED
test023.pure: FAILED
test024.pure: FAILED
test025.pure: FAILED
test026.pure: passed
test027.pure: FAILED
test028.pure: FAILED
test029.pure: passed
test030.pure: passed
test031.pure: FAILED
test032.pure: passed
test033.pure: passed
test034.pure: FAILED
test035.pure: passed
test036.pure: FAILED
test037.pure: passed
test038.pure: passed
test039.pure: passed
test040.pure: passed
test041.pure: FAILED
test042.pure: FAILED
make: *** [check] Error 1

    while executing
"command_exec test"
    (procedure "porttest::test_main" line 4)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for pure): org.macports.test
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by wsiegrist@…

Milestone: MacPorts 1.8.1MacPorts 1.8.2

comment:2 Changed 15 years ago by jmroot (Joshua Root)

1.8.1 milestone is closing, moving open tickets out

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Fixed on trunk in r60769.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed on branch in r60770.

Note: See TracTickets for help on using tickets.