upgrade db1027 to trusty and mariadb 10

Change-Id: Iaf36e351882728bb036308eacc40aa7494b4ac44