Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312721 - Aggregator doesn't send mail on failure
Summary: Aggregator doesn't send mail on failure
Status: RESOLVED FIXED
Alias: None
Product: CBI
Classification: Technology
Component: CBI p2 Repository Aggregator (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 17:31 EDT by David Williams CLA
Modified: 2016-09-16 15:59 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2010-05-12 17:31:30 EDT
I'm not sure about regular mail, since not using --production yet, but the buckyBuilder would not only send the mail, but also print out in log that it was sending "mock mail". 

Below is the very end of the log, that shows the arguments, etc, Only difference between this run, and previous BuckyBuild (which did send mock mail) is that I did specify "subject prefix". 


[...]

     [exec] Repository http://download.eclipse.org/modeling/emft/mwe/updates/milestones loaded (Took 1 minute 36 seconds)
     [exec] Build failed! Exception was org.eclipse.core.runtime.CoreException: Unable to load repository p2:http://download.eclipse.org/eclipse/updates/3.6-I-builds/I20100429-1549
     [exec] Unable to load repository p2:http://download.eclipse.org/eclipse/updates/3.6-I-builds/I20100429-1549
     [exec] Eclipse:
     [exec] No exit data available.
     [exec] Eclipse:
     [exec] Java was started but returned exit code=13
     [exec] -Xmx384m
     [exec] -Declipse.p2.mirrors=false
     [exec] -Dorg.eclipse.update.jarprocessor.pack200=/home/shared/webtools/apps/ibm-java2-i386-5011/jre/bin
     [exec] -Djava.class.path=/home/shared/helios/prereqs/eclipse36/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100419.jar
     [exec] -os linux
     [exec] -ws gtk
     [exec] -arch x86
     [exec] -launcher /home/shared/helios/prereqs/eclipse36/eclipse/eclipse
     [exec] -name Eclipse
     [exec] --launcher.library /home/shared/helios/prereqs/eclipse36/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100322-1720/eclipse_1307.so
     [exec] -startup /home/shared/helios/prereqs/eclipse36/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100419.jar
     [exec] -debug
     [exec] -data /home/shared/hudson/hudsonhome/jobs/helios.runBothBuilders/builds/2010-05-12_17-29-11/eclipseworkspace
     [exec] -application org.eclipse.b3.cli.headless aggregate
     [exec] --buildId 2010-05-12_17-29-11
     [exec] --mockEmailTo david_williams@us.ibm.com
     [exec] --buildModel /home/shared/helios/org.eclipse.helios.build/helios.build
     [exec] --buildRoot /home/shared/helios/aggregation
     [exec] --mirrorReferences
     [exec] --referenceExcludePattern .*/site.xml
     [exec] --packedStrategy UNPACK_AS_SIBLING
     [exec] --eclipseLogLevel INFO
     [exec] --logLevel DEBUG
     [exec] --action CLEAN_BUILD
     [exec] --trustedContributions Eclipse,Equinox
     [exec] --emailFromName HeliosAggregator
     [exec] --buildId 2010-05-12_17-29-11
     [exec] --logURL http://wtp.rtp.raleigh.ibm.com:8080/job/helios.runBothBuilders/7/console
     [exec] --subjectPrefix HeliosAggregation
     [exec] -vm /home/shared/webtools/apps/ibm-java2-i386-5011/jre/bin/j9vm/libjvm.so
     [exec] -vmargs
     [exec] -Xmx384m
     [exec] -Declipse.p2.mirrors=false
     [exec] -Dorg.eclipse.update.jarprocessor.pack200=/home/shared/webtools/apps/ibm-java2-i386-5011/jre/bin
     [exec] -Djava.class.path=/home/shared/helios/prereqs/eclipse36/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100419.jar 

BUILD FAILED
/home/shared/helios/org.eclipse.helios.tools/build.xml:180: The following error occurred while executing this line:
/home/shared/helios/org.eclipse.helios.tools/build.xml:218: exec returned: 13

Total time: 1 minute 46 seconds
Finished: FAILURE
Comment 1 David Williams CLA 2010-05-14 02:12:32 EDT
Doesn't send regular mail on failure either. :(
Comment 2 Thomas Hallgren CLA 2010-05-14 04:15:16 EDT
I think the email works but not for the case when a repository fails to load. In b3 the actual load is handled differently. I'll look into that.
Comment 3 Thomas Hallgren CLA 2010-05-14 04:28:13 EDT
Fix released to trunk, revision 1001.
Comment 4 David Williams CLA 2016-09-16 15:59:08 EDT
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.
No change to assignee for resolved and verified bugs.]