Jira (FACT-2858) Acceptance test for cache migration from Facter 3 to Facter 4

1 view
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Nov 13, 2020, 10:47:03 AM11/13/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Task FACT-2858
Acceptance test for cache migration from Facter 3 to Facter 4
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/11/13 7:46 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

Create a cache file with a tested fact in the Facter 3 format. In facter.conf set the same fact to be cached by Facter 4 with a large TTLS

  • run Facter 4 with cache configured
  • check if the cache file was invalidated and recreated by Facter 4
  • check the cache file contains "cache_format_version": 1
  • check the fact value was written to the cache
  • check that the old value from the Facter 3 formatted cache is no longer in the cache
  • run Facter 4 with no config file
  • check we have a fact value and it is read from the system
  • check the cache file was not changed
  • run Facter 4 with config
  • check the cache file did not changed
  • check it prints the value from the cache
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Nov 13, 2020, 10:48:03 AM11/13/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Create a cache file with a tested fact in the Facter 3 format. In facter.conf set the same fact to be cached by Facter 4 with a large TTLS

- run Facter 4 with cache configured

    
- check if the cache file was invalidated and recreated by Facter 4

    
- check the cache file contains "cache_format_version": 1

    
- check the fact value was written to the cache

    
- check that the old value from the Facter 3 formatted cache is no longer in the cache

 

- run Facter 4 with no config file

    
- check we have a fact value and it is read from the system

    
- check the cache file was not changed

 

- run Facter 4 with config

    
- check the cache file did not changed

    
- check it prints the value from the cache

Bogdan Irimie (Jira)

unread,
Nov 13, 2020, 10:51:03 AM11/13/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Create a cache file with a tested fact in the Facter 3 format. In facter.conf set the same fact to be cached by Facter 4 with a large TTLS

-
* run Facter 4 with cache configured

    -
** check if the cache file was invalidated and recreated by Facter 4

    -
** check the cache file contains "cache_format_version": 1

    -
** check the fact value was written to the cache

    -
** check that the old value from the Facter 3 formatted cache is no longer in the cache

 

-
* run Facter 4 with no config file

    -
** check we have a fact value and it is read from the system

    -
** check the cache file was not changed

 

-

*
run Facter 4 with config

    -
** check the cache file did not changed

    -
** check it prints the value from the cache

Bogdan Irimie (Jira)

unread,
Nov 18, 2020, 9:14:03 AM11/18/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost 25.11

Bogdan Irimie (Jira)

unread,
Nov 25, 2020, 9:04:03 AM11/25/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11 , ready for triage 2

Sebastian Miclea (Jira)

unread,
Nov 25, 2020, 3:11:03 PM11/25/20
to puppe...@googlegroups.com
Sebastian Miclea updated an issue
Change By: Sebastian Miclea
Create a cache file with a tested fact in the Facter 3 format. In facter.conf set the same fact to be cached by Facter 4 with a large TTLS
* run Facter 4 with cache configured
**  check if the cache file was invalidated and recreated by Facter 4
** check the cache file contains "cache_format_version": 1
** check the fact value was written to the cache
** check that the old value from the Facter 3 formatted cache is no longer in the cache

* run Facter 4 with no config file
** check we have a fact value and it is read from the system
** check the cache file was not changed
* run Facter 4 with config
** check the cache file did not changed change
** check it prints the value from the cache

Sebastian Miclea (Jira)

unread,
Nov 25, 2020, 3:42:04 PM11/25/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Dec 2, 2020, 2:39:03 AM12/2/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Dec 16, 2020, 2:08:15 PM12/16/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ready for triage 2 ghost-19.12

Bogdan Irimie (Jira)

unread,
Dec 18, 2020, 11:57:03 AM12/18/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ghost-18.12 , ready for triage 3

Bogdan Irimie (Jira)

unread,
Jan 5, 2021, 3:18:04 AM1/5/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost 25.11, ghost-2.12, ghost-18.12, ready for triage 3 ghost-13.01.2020

Gheorghe Popescu (Jira)

unread,
Jan 14, 2021, 3:58:03 AM1/14/21
to puppe...@googlegroups.com

Gheorghe Popescu (Jira)

unread,
Jan 14, 2021, 4:02:04 AM1/14/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages