[openstack-dev] [Fuel] [shotgun] New shotgun2 command: short-report

Alex Schultz aschultz at mirantis.com
Mon Mar 21 20:20:57 UTC 2016


On Mon, Mar 21, 2016 at 1:59 PM, Vladimir Kozhukalov <
vkozhukalov at mirantis.com> wrote:

> Alex,
>
> That is just a short report that QA team needs for their convenience.
> Please consider this letter as just FYI, nothing more.
>
>
If a bug only contains the short report, how do we work on fixing the bug?
My question is valid and should be answered.  What good is this information
if I cannot reproduce an environment with this information? How does one
translate or locate specific package versions for reproducing issues?  Is
this documented?  If not, will it be?  I'd like to know what the point of
this short report is since I'm not sure how it could be consumed by
QA/Devs?



> 'shotgun report' allows you to see commit SHA from which a package was
> built. It is even more information than it was available in version.yaml
> and this information is actual unlike the content of version.yaml.
>
> I know you were opposing getting rid of version.yaml but the thing is Fuel
> now can be installed on any CentOS 7.2 node directly from RPM repository.
> You don't even need the Fuel ISO, and thus version.yaml could not be an
> artifact that we could rely on (no ISO build id any more, no sha sums).
> Instead, now we rely on packages that are currently installed on the master
> node. The only issue with this approach is the ability to easily reproduce
> the env having just this list of packages attached to a bug. But it is not
> worse that it was with version.yaml.
>
>
I was only opposed to getting rid of it without a proper replacement which
is why I keep asking the same questions as an equivalent replacement does
not seem to exist.  Also it is much worse now that we don't have
version.yaml because I may have no way to locate these mystical package
versions that keep getting reported.  At least with git hashes I could at
least look at the same code base across everything. Now without this
information I have no way of building a complete picture of the code being
utilized in the environment.


> I'm currently working on design draft about modular data driven functional
> testing. This could also help for troubleshooting. In a nutshell the
> developer experience will be like:
>  1) you look at log files (`shotgun dump`) and roughly locate the issue
> (that allows you to choose respective test case)
>  2) you run script passing some data to it (data are to come from 'shotgun
> report --machinereadable' or smth like this)
>  3) this script builds testing/experimental env for you (env is to include
> only those components that are respective to chosen test case)
>  5) you run some tests against this lab and manually do some experiments
> to kill the bug
>
>
>

This should have been created before removing the thing providing this
information previously. Yes I know I sound like a broken record on this,
but it's very hard to address issues if you cannot reproduce the
environment they occur on.  I'm trying to make sure we are providing all
the information to aid in reproducing issues to get them fixed and not just
providing more information that is ultimately ignored because it's useless.

Thanks,
-Alex


>
>
> Vladimir Kozhukalov
>
> On Mon, Mar 21, 2016 at 5:28 PM, Alex Schultz <aschultz at mirantis.com>
> wrote:
>
>>
>>
>> On Mon, Mar 21, 2016 at 7:21 AM, Volodymyr Shypyguzov <
>> vshypyguzov at mirantis.com> wrote:
>>
>>> Hi, all
>>>
>>> Just wanted to inform you, that shotgun2 now has new command
>>> short-report, which allows you to receive shorter and cleaner output for
>>> attaching to bug description, sharing, etc.
>>>
>>> Usage: shotgun2 short-report
>>> Example output: http://paste.openstack.org/show/491256/
>>>
>>>
>> How will we be able to find those specific packages and how will we be
>> able to correlate them with the equivalent commit in the git repository?
>>
>> Thanks,
>> -Alex
>>
>>
>>> Regards,
>>> Volodymyr
>>>
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160321/ecc75ee9/attachment.html>


More information about the OpenStack-dev mailing list