Bug#926287: barbican: FTBFS: TypeError: set_defaults() got an unexpected keyword argument 'vault_approle_role_id'

2019-04-03 Thread Thomas Goirand
On 4/3/19 7:10 PM, Andreas Beckmann wrote:
> On 2019-04-03 17:27, Thomas Goirand wrote:
>> Weird, I couldn't reproduce. Could it be my setup with
>> --build-dep-resolver=aspcud?
> 
> Likely. I'd guess my build pulled a package from sid due to
> insufficiently versioned B-D.
> 
> Andreas

Hi Andreas,

When I look into my build log, I can see that it took python3-castellan
1.2.2-1, while yours took 0.19.0-1. So I replaced aspcud by aptitude,
and then I saw the same issue you reported. Lesson learned: I'll use
aptitude from now on, as it looks like it does a better job at taking
the right (expected) dependencies.

After bumping castellan to 1.2.2, built succeeds. Uploading and filing a
bug upstream...

Thanks for all of your valuable bug reports,
Cheers,

Thomas Goirand (zigo)



Bug#926287: barbican: FTBFS: TypeError: set_defaults() got an unexpected keyword argument 'vault_approle_role_id'

2019-04-03 Thread Andreas Beckmann
On 2019-04-03 17:27, Thomas Goirand wrote:
> Weird, I couldn't reproduce. Could it be my setup with
> --build-dep-resolver=aspcud?

Likely. I'd guess my build pulled a package from sid due to
insufficiently versioned B-D.

Andreas



Bug#926287: barbican: FTBFS: TypeError: set_defaults() got an unexpected keyword argument 'vault_approle_role_id'

2019-04-03 Thread Thomas Goirand
On 4/3/19 12:31 AM, Andreas Beckmann wrote:
> Source: barbican
> Version: 1:8.0.0~rc1-2
> Severity: serious
> Justification: fails to build from source
> 
> Hi,
> 
> barbican/experimental FTBFS with 
> 
> ==
> FAIL: 
> barbican.tests.plugin.test_castellan_secret_store.WhenTestingVaultSecretStore.test_delete_secret_throws_key_error
> barbican.tests.plugin.test_castellan_secret_store.WhenTestingVaultSecretStore.test_delete_secret_throws_key_error
> --
> _StringException: Traceback (most recent call last):
>   File 
> "/build/barbican-8.0.0~rc1/barbican/tests/plugin/test_castellan_secret_store.py",
>  line 50, in setUp
> self.plugin = vss.VaultSecretStore(self.cfg_mock)
>   File "/build/barbican-8.0.0~rc1/barbican/plugin/vault_secret_store.py", 
> line 65, in __init__
> vault_conf = self.get_conf(conf)
>   File "/build/barbican-8.0.0~rc1/barbican/plugin/vault_secret_store.py", 
> line 86, in get_conf
> vault_use_ssl=conf.vault_plugin.use_ssl
> TypeError: set_defaults() got an unexpected keyword argument 
> 'vault_approle_role_id'
> 
> 
> Andreas

Weird, I couldn't reproduce. Could it be my setup with
--build-dep-resolver=aspcud?

Cheers,

Thomas Goirand (zigo)