Hello Aron,
I saw, one of our junit tests failed:
====================================================================================================
com.redhat.rhn.manager.system.test.SystemManagerTest.testSystemSearch
...
systemsearch_uuid is empty with value: e280ccb0-1f31-11dc-9c52-00425200ea2f
Stacktrace
junit.framework.AssertionFailedError: systemsearch_uuid is empty with
value: e280ccb0-1f31-11dc-9c52-00425200ea2f
at
com.redhat.rhn.manager.system.test.SystemManagerTest.testSystemSearch(SystemManagerTest.java:793)
====================================================================================================
It looks it's caused by the commit
f4ec077413cf6d5b1510ff58d81560272ed453ff
especially:
+ /* UUID setup */
+ ServerUuid uuid = ServerUuidTest.createTestServerUuid();
+ uuid.setServer(s);
+ s.setServerUuid(uuid);
+
If you check the createTestServerUuid method, you'll find out that the
method creates a new org, new user, new server and associated the server
with an UUID. The server-uuid association gets stored into the DB. So,
if you then update the server, the change won't get reflected into the
DB as well. That causes later search to fail.
At the first look, I'd say, it's not appropriate to call this method to
get an UUID.
Could you check the issue, please?
Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel