I also just tested all 3 packages on a single chroot to see if the logrotate file was successfully removed. I performed the following tests: force-install walinuxagent 2.0.8-0ubuntu1~14.04.0 from trusty, download new package for series x from x-proposed, install walinuxagent version X, check if there are duplicate logrotate files, repeat for next series. I did this for 2.2.6-0ubuntu1~16.10.1, 2.2.6-0ubuntu1~16.04.1 and 2.2.6-0ubuntu1~14.04.1.
I didn't want to re-setup different chroots for different series as it doesn't really affect the test being made (as we need to upgrade from a trusty version of the package anyway).
Thanks Andrew!
I also just tested all 3 packages on a single chroot to see if the logrotate file was successfully removed. I performed the following tests: force-install walinuxagent 2.0.8-0ubuntu1~ 14.04.0 from trusty, download new package for series x from x-proposed, install walinuxagent version X, check if there are duplicate logrotate files, repeat for next series. I did this for 2.2.6-0ubuntu1~ 16.10.1, 2.2.6-0ubuntu1~ 16.04.1 and 2.2.6-0ubuntu1~ 14.04.1.
I didn't want to re-setup different chroots for different series as it doesn't really affect the test being made (as we need to upgrade from a trusty version of the package anyway).