The job Saros-Full-Sonar -- according to its description -- is
responsible for creating the day-to-day baseline for the incremental
SonarQube analyses of new patch sets.
This is described in detail in Arsenij's thesis in sections 3.2.4 to
3.2.8, see [1] (it's called the "second approach").
This means two things:
(1) There is no need to have sub-jobs to separate Java 6 from Java 7
stuff. Instead, there should be (at least) two independent jobs.
(a) Either we split the jobs by Java version, resulting in two
nightly jobs "Saros-JDK6-Sonar" (for the Core, Saros/E,
Saros/Whiteboard, ...) and "Saros-JDK7-Sonar" (Saros/I,
Saros/Server, ...).
(b) Or we split by sub-project, resulting in a handful of jobs.
The naming here would be "Saros-IntelliJ-Sonar", without the
"-Full-" infix (explained here [2]).
(2) The jobs "Saros-Intellij-Gerrit" and "Saros-Intellij-Gerrit-QA"
are executed for every new patch set. The latter *uses* the outcome
of the nightly "-Sonar" job. I see no reason why any of these
should become obsolete.
By the way, the two Jobs Saros-Intellij-Gerrit and Saros-Server-Gerrit
are not publicly visible and bear no description.
Furthermore, the documentation of Saros-Full-Gerrit is outdated: e.g.
it says "The server is currently not built" -- wrong, build #1 was on
2015-11-26.
Please complete the work you and Denis started.
Thanks,
Franz
[1]
http://www.inf.fu-berlin.de/inst/ag-se/theses/Solovjev14-operationalizing-architecture.pdf#page=26
[2] http://saros-build.imp.fu-berlin.de/jenkins/view/Saros/
On 2015-12-30 09:54 Holger Schmeisky wrote:
> Saros-Full-Sonar uses JDK 6 to build (it does not include the server).
> In order to build IntelliJ in JDK 7 I could create a separate sub-job
> that runs with JDK 7 (call it Saros-Full-Sonar-IntelliJ).
>
> This would make every JDK upgrade (even minor versions) rather painful
> because I have to manually change the JDK in all 3 Saros/I related jobs
> (Saros-Full-Sonar-IntelliJ, Saros-IntelliJ-Gerrit,
> Saros-IntelliJ-Hourly). I think this is the point of the
> build.properties file: I'll use that instead to set the JDK for Saros/I
> builds.
>
> As far as I can see this would also make the Saros-IntelliJ-Gerrit job
> superfluous, right?
>
> Any holes in this plan? :)
>
> Best Regards,
> Holger
>
> Holger Schmeisky; [email protected]
> Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
> +49 176 64146306
>
> Am 30.12.2015 um 08:45 schrieb Franz Zieris:
>> Hi Holger,
>>
>> Saros-Full-Sonar builds #615 and #616 failed because of this change:
>>
>> fa48014 [INTERNAL][I] Replace path implementation by Java7
>>
>> This is the change I reverted two weeks ago [a], and in the new commit
>> message, you already say:
>>
>>> This is the same as 2937 [1], but this time the build
>>> infrastructure should be ready for Java wq7.
>>
>> It should be, but apparently it isn't.
>>
>> The Saros-Full-Sonar job is not as critical as the Saros-Intellij-Hourly
>> job. But still: Please deal with this issue soon, either by creating
>> (another) revert commit, or -- if you know what to do -- by adapting the
>> build infrastructure, i.e. the job config.
>>
>> Cheers,
>> Franz
>>
>> [a] http://article.gmane.org/gmane.comp.ide.eclipse.saros.devel/1673
>>
>> On 2015-12-30 07:30 [email protected] wrote:
>>> See
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/616/>
>>>
>>> ------------------------------------------
>>> [...truncated 16443 lines...]
>>> [...]
>>>
>>> compile.saros-i.main:
>>> [mkdir] Created dir:
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/bin/saros-i/main>
>>>
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/build.xml>:99:
>>> warning: 'includeantruntime' was not set, defaulting to
>>> build.sysclasspath=last; set to false for repeatable builds
>>> [javac2] Compiling 115 source files to
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/bin/saros-i/main>
>>>
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:28:
>>> package java.nio.file does not exist
>>> [javac2] import java.nio.file.Path;
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:29:
>>> package java.nio.file does not exist
>>> [javac2] import java.nio.file.Paths;
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:37:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] private Path delegate;
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:50:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] private IntelliJPathImpl(Path delegate, boolean
>>> trailingSeparator) {
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:40:
>>> cannot find symbol
>>> [javac2] symbol : variable Paths
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] public static final IPath EMPTY = new
>>> IntelliJPathImpl(Paths.get(""), false);
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:46:
>>> cannot find symbol
>>> [javac2] symbol : variable Paths
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] return new IntelliJPathImpl(Paths.get(pathString),
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:55:
>>> cannot find symbol
>>> [javac2] symbol : variable Paths
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] this.delegate = delegate.equals(Paths.get("")) ?
>>> delegate : delegate
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:91:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path newDelegate = delegate.subpath(count,
>>> delegate.getNameCount());
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:104:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path newDelegate = delegate.subpath(0, newCount);
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:127:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path root = delegate.toAbsolutePath().getRoot();
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:128:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path newDelegate = root.resolve(delegate);
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:142:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path other = Paths.get(path.toOSString());
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:142:
>>> cannot find symbol
>>> [javac2] symbol : variable Paths
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path other = Paths.get(path.toOSString());
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:148:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path other = Paths.get(path.toOSString());
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:148:
>>> cannot find symbol
>>> [javac2] symbol : variable Paths
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path other = Paths.get(path.toOSString());
>>> [javac2] ^
>>> [javac2]
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/src/de/fu_berlin/inf/dpp/intellij/project/filesystem/IntelliJPathImpl.java>:159:
>>> cannot find symbol
>>> [javac2] symbol : class Path
>>> [javac2] location: class
>>> de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJPathImpl
>>> [javac2] Path newDelegate = delegate.resolve(other);
>>> [javac2] ^
>>> [javac2] Note: Some input files use or override a deprecated API.
>>> [javac2] Note: Recompile with -Xlint:deprecation for details.
>>> [javac2] 16 errors
>>>
>>> BUILD FAILED
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/build.xml>:253:
>>> The following error occurred while executing this line:
>>> <http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Full-Sonar/ws/de.fu_berlin.inf.dpp.intellij/build.xml>:99:
>>> Compile failed; see the compiler error output for details.
>>> [...]
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> DPP-Robot mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dpp-robot
>>>
------------------------------------------------------------------------------
_______________________________________________
DPP-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-devel