[ovs-dev] [PATCH] travis: Fix using DPDK build from master branch cache.

Aaron Conole aconole at redhat.com
Wed Mar 11 15:13:14 UTC 2020


Ilya Maximets <i.maximets at ovn.org> writes:

> If no cache available for current branch, Travis CI uses cache from
> the default (master) branch.  This causes build failures on older
> OVS branches if cache was cleared because DPDK builds from master
> branch are not compatible.
>
> For example, we removed pdump support on master, but branch 2.13
> explicitly requests pdump being enabled and fails while using
> cached DPDK from the master branch.
>
> Adding the branch name to the version file to avoid using incompatible
> DPDK builds.
>
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---

Does it make sense to remove the .config file before stamping the
version instead?  I guess either way will accomplish what you're after.
I don't see much difference between them, and I guess it is just a
different color for the bike shed, so:

Acked-by: Aaron Conole <aconole at redhat.com>

On this note, I've set the bot to also rebuild it's master branch
every Sunday (which should help with each series build time).



More information about the dev mailing list