GSoC 2019: Week 7 updates

A long-standing bug was fixed this week. This had been the cause of a test failure in TerasologyLauncherPRs job of our Jenkins, for almost as long as a month. Also did a few tweaks on the Package Manager API, along with a diagram for my initial plan.

The Test failure

This test had been failing since build 102 of TerasologyLauncherPRs, but weirdly, all the tests were passing flawlessly on my local machine. Even weirder was the reason for this failure:

Screenshot_2019-07-27 TerasologyLauncherPRs #114 test - testInitDefault [Jenkins]

Coincidentally, this build was also the first in that line to be hosted on a new Jenkins node. So our first guess was that it’s failing due to some trouble detecting the right locale in the new server. But after hours of debugging and running groovy scripts, I failed to find a single environmental problem that could have caused it.

Miraculously, the test started failing on my local machine too after a point. And that’s when I realized it wasn’t actually a problem in the machine setup. After some more analysis, I had finally found the source of this problem: The state of a utility class was getting modified by a former test, which caused this test to make wrong assertions. This was corrected by resetting its state before starting on the newer test, and the job was done!

Package Manager plans

I made a diagram that describes our initial plan for the package manager. Only the three basic functionalities have been described:

pkgmgr

Be sure to check out this post on my weekly GSoC forum thread.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

Create your website at WordPress.com
Get started
%d bloggers like this: