The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Build failed with 0 warnings and 0 errors

Last post 01-07-2013 5:30 PM by Daniel15. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 01-06-2013 7:20 AM

    • Daniel15
    • Top 200 Contributor
    • Joined on 01-27-2007
    • Melbourne, Australia
    • Posts 263

    Build failed with 0 warnings and 0 errors

    A build on the CI box (CruiseControl.NET) was failing but I couldn't see any obvious errors. So I tried building just one of the many web sites and services on my PC and got this:

    I'm so used to seeing red when builds fail that I didn't even realise it had failed to build.

  • 01-06-2013 8:37 AM In reply to

    Re: Build failed with 0 warnings and 0 errors

    "When a file does not exist,
    is it an error to try to update the file?"
    -old programmer's koan
    This is not the signature you are looking for
  • 01-06-2013 11:00 AM In reply to

    Re: Build failed with 0 warnings and 0 errors

    SEMI-HYBRID code:
    "When a file does not exist,
    is it an error to try to update the file?"
    -old programmer's koan
    Seems like they couldn't decide so they ended up choosing both...
  • 01-06-2013 11:19 AM In reply to

    Re: Build failed with 0 warnings and 0 errors

    poizan42:
    SEMI-HYBRID code:
    "When a file does not exist,
    is it an error to try to update the file?"
    -old programmer's koan
    Seems like they couldn't decide so they ended up choosing both...
    Mu!
  • 01-06-2013 5:34 PM In reply to

    • Husky
    • Not Ranked
    • Joined on 08-27-2011
    • More to the South than you'd imagine.
    • Posts 18

    Re: Build failed with 0 warnings and 0 errors

    This reminds me of a thing that once happened to me, but wasn't worth making a topic for it only:
    CD recording error

    It says:
    The disk image was recorded successfully because an error occurred. Failure in recording because the unit returned an error without chance of recovery.

    And before anyone asks, yeah, the disk (ubuntu installer) worked without any problems.
  • 01-06-2013 6:16 PM In reply to

    • Daniel15
    • Top 200 Contributor
    • Joined on 01-27-2007
    • Melbourne, Australia
    • Posts 263

    Re: Build failed with 0 warnings and 0 errors

    Turns out the build failure was because of a particular task failing but not outputting any errors:

    Task "CollectFilesinFolder" (TaskId:470)
    Done executing task "CollectFilesinFolder" -- FAILED. (TaskId:470)
    

    I looked at this task in a decompiler and saw that it loads an error message but never actually does anything with the error message (because who would like to actually see the reason for a build failure?):

    if (!Directory.Exists(this.RootPath))
    {
    	SR.GetString("BUILDTASK_ColectFilesInFolder_RootIsNotValid", this.RootPath);
    	return false;
    }
    
  • 01-07-2013 8:25 AM In reply to

    Re: Build failed with 0 warnings and 0 errors

     Nice find! So whose build code should be named and shamed?

  • 01-07-2013 8:46 AM In reply to

    Re: Build failed with 0 warnings and 0 errors

     Colect?


    boomzilla: I think the obvious answer is for everyone to just stop programming.

    Filed under:
  • 01-07-2013 9:16 AM In reply to

    Re: Build failed with 0 warnings and 0 errors

    Husky:
    This reminds me of a thing that once happened to me, but wasn't worth making a topic for it only:
    [snip image]

    It says:
    The disk image was recorded successfully because an error occurred. Failure in recording because the unit returned an error without chance of recovery.

    And before anyone asks, yeah, the disk (ubuntu installer) worked without any problems.

    Well, it's better then why my copies of the Windows ISO burner seem to do: Appear to successfully finish only to find that the disk image is corrupted when trying to use it.


    [Sanity Not Available until further notice. The trolls have won.]

  • 01-07-2013 1:44 PM In reply to

    • Frosh
    • Not Ranked
    • Joined on 10-12-2012
    • Posts 1

    Re: Build failed with 0 warnings and 0 errors

    enum Bool 
    { 
        True, 
        False, 
        FileNotFound,
        Mu
    };
  • 01-07-2013 5:30 PM In reply to

    • Daniel15
    • Top 200 Contributor
    • Joined on 01-27-2007
    • Melbourne, Australia
    • Posts 263

    Re: Build failed with 0 warnings and 0 errors

    LoremIpsumDolorSitAmet:
     Nice find! So whose build code should be named and shamed?
    It's in Microsoft's "Microsoft.Web.Publishing.Tasks" assembly.
    Well, it's better then why my copies of the Windows ISO burner seem to do: Appear to successfully finish only to find that the disk image is corrupted when trying to use it.
    I used to use CDBurnerXP and it seemed to "freeze" when bad things happened. The app wasn't actually locked up or frozen, but the progress bar got stuck at a certain percentage and wouldn't move, and nothing was written to the log. I think it's just a big wrapper around a CD burning COM/ActiveX component so maybe it just wasn't handling the errors correctly.
Page 1 of 1 (11 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems