[MAGNOLIA-7296] Solve encoding issue in tests Created: 09/Apr/18 Updated: 24/Apr/18 Resolved: 19/Apr/18 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.6.5 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Michael Mühlebach | Assignee: | Michael Mühlebach |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Epic Link: | Pipelines MVP | ||||
| Sprint: | Basel 141, Basel 143 | ||||
| Story Points: | 3 | ||||
| Description |
| Comments |
| Comment by Michael Mühlebach [ 16/Apr/18 ] |
|
Ok I think I found a solution. To set the encoding on maven would have been very cool because of platform independency but did not work for whatever reason. But setting the encoding on the machine directly and restart the slave afterwards did the trick. I did the follow: {{sudo locale-gen en_US.UTF-8 But adding those lines to the init script didn't do anything?! seems to be another issue |
| Comment by Michael Mühlebach [ 17/Apr/18 ] |
|
Ok the steps would have worked. But the used AMI for the slave was taken from an once initialized slave. The jenkins ec2 plugin adds a marker file {{ ~/.hudson-run-init}} to ensure the init scripts only run once ... which meant the changes in the init script was never applied even on new slaves |