Actions
Bug #7610
closedTest are failing when generating promises
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Failed tests: A root node\u002C with no node connected and defauls installation should::correctly write the expected promises files(com.normation.rudder.services.policies.write.WriteSystemTechniqueTest): There is 1 failure
Our CI is very terse, and should not, but it is an other problem.
When running on an user env, it can be reproduced with the command:
$ LANG=C mnv test
So, it's an encoding problem. And the output is:
rudder-group.st template should::correctly write the classes and by_uuid array when groups(com.normation.rudder.services.policies.write.WriteSystemTechniqueTest) Time elapsed: 0.021 se c <<< FAILURE! java.lang.Exception: /tmp/test-rudder-config-repo/1450107339533/share/root/common/1.0/rudder-groups.cf is not the same as /tmp/test-rudder-config-repo/1450107339533/configuration-reposi tory/expected-share/test-rudder-groups/some-groups.cf in /tmp/test-rudder-config-repo/1450107339533/share/root/common/1.0/rudder-groups.cf, not in /tmp/test-rudder-config-repo/1450107339533/configuration-repository/expected-share/test-ru dder-groups/some-groups.cf MISSING: 27. # For example, if node belongs to group: (id: 64f85ba8-39c7-418a-a099-24c2c2909dfd ; name: "Serveurs pr?-prod") MISSING: 32. # - "by_uuid[64f85ba8-39c7-418a-a099-24c2c2909dfd]" = "Serveurs pr?-prod" MISSING: 38. "by_uuid[c8813416-316f-4307-9b6a-ca9c109a9fb0]" string => "Serveurs [???] cass?s", in /tmp/test-rudder-config-repo/1450107339533/configuration-repository/expected-share/test-rudder-groups/some-groups.cf, not in /tmp/test-rudder-config-repo/1450107339533/share/root/c ommon/1.0/rudder-groups.cf MISSING: 27. # For example, if node belongs to group: (id: 64f85ba8-39c7-418a-a099-24c2c2909dfd ; name: "Serveurs pr?-prod") MISSING: 32. # - "by_uuid[64f85ba8-39c7-418a-a099-24c2c2909dfd]" = "Serveurs pr?-prod" MISSING: 38. "by_uuid[c8813416-316f-4307-9b6a-ca9c109a9fb0]" string => "Serveurs [???] cass?s", at com.normation.rudder.services.policies.write.WriteSystemTechniqueTest$$anonfun$23$$anonfun$apply$14.apply(WriteSystemTechniquesTest.scala:528) at com.normation.rudder.services.policies.write.WriteSystemTechniqueTest$$anonfun$23$$anonfun$apply$14.apply(WriteSystemTechniquesTest.scala:506) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Updated by François ARMAND almost 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
PR
Updated by François ARMAND almost 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|a19c071a51c561e886ddbc0931f016f724a645b3.
Updated by Vincent MEMBRÉ almost 9 years ago
Applied in changeset rudder|90056adfd6944c47b68b2ebc7f52c1a1fa598d45.
Updated by Benoît PECCATTE almost 9 years ago
- Pull Request set to https://github.com/Normation/rudder/pull/1005
PR are hard to find without reference https://github.com/Normation/rudder/pull/1005
Updated by Benoît PECCATTE almost 9 years ago
- Subject changed from Test are failing in 3.2: to Test are failing when generating promises
Updated by Benoît PECCATTE almost 9 years ago
- Status changed from Pending release to Released
Updated by Benoît PECCATTE almost 9 years ago
This bug has been fixed in Rudder 3.2.0~rc2 which was released today.
Actions