You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute the command salt-call -l profile state.apply test-cache
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Loading fresh modules for state activity
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/test-cache/init.sls' using 'jinja' renderer: 0.0031363964080810547
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/test-cache/init.sls' using 'yaml' renderer: 0.0005271434783935547
[PROFILE ] Time (in seconds) to render profile block 'load slow-sha-compute from test1': 10.01871919631958
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/test-cache/test1.sls' using 'jinja' renderer: 10.022127628326416
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/test-cache/test1.sls' using 'yaml' renderer: 0.0008547306060791016
[PROFILE ] Time (in seconds) to render profile block 'load slow-sha-compute from test2': 10.018997192382812
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/test-cache/test2.sls' using 'jinja' renderer: 10.021836757659912
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/test-cache/test2.sls' using 'yaml' renderer: 0.0007636547088623047
[INFO ] Running state [test1-show-slow-value] at time 17:00:44.647191
[INFO ] Executing state test.nop for [test1-show-slow-value]
[INFO ] Success!
[INFO ] Completed state [test1-show-slow-value] at time 17:00:44.648329 (duration_in_ms=1.14)
[INFO ] Running state [test2-show-slow-value] at time 17:00:44.648555
[INFO ] Executing state test.nop for [test2-show-slow-value]
[INFO ] Success!
[INFO ] Completed state [test2-show-slow-value] at time 17:00:44.649393 (duration_in_ms=0.839)
local:
----------
ID: test1-show-slow-value
Function: test.nop
Result: True
Comment: Success!
Started: 17:00:44.647189
Duration: 1.14 ms
Changes:
----------
ID: test2-show-slow-value
Function: test.nop
Result: True
Comment: Success!
Started: 17:00:44.648554
Duration: 0.839 ms
Changes:
Summary for local
------------
Succeeded: 2
Failed: 0
------------
Total states run: 2
Total run time: 1.979 ms
Expected behavior
The rendering of /srv/salt/test-cache/slow-compute.jinja show be quick when loaded from /srv/salt/test-cache/test2.sls instead of during more than 10 seconds.
Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3007.0Python Version:
Python: 3.10.13 (main, Feb 19 2024, 03:31:20) [GCC 11.2.0]Dependency Versions:
cffi: 1.16.0cherrypy: unknowndateutil: 2.8.2docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.3libgit2: 1.7.2looseversion: 1.3.0M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.7msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 23.1pycparser: 2.21pycrypto: Not Installedpycryptodome: 3.19.1pygit2: 1.14.1python-gnupg: 0.5.2PyYAML: 6.0.1PyZMQ: 25.1.2relenv: 0.15.1smmap: Not Installedtimelib: 0.3.0Tornado: 6.3.3ZMQ: 4.3.4Salt Package Information:
Package Type: onedirSystem Versions:
dist: debian 12.5 bookwormlocale: utf-8machine: x86_64release: 6.1.0-12-cloud-amd64system: Linuxversion: Debian GNU/Linux 12.5 bookworm
Additional context
Following #59441 for 3007.0 with simpler instruction by using salt["test.sleep"](10) instead of complicated ISO hash computation.
The text was updated successfully, but these errors were encountered:
Description
When doing an import of a Jinja from a
.sls
without passing context should be cached according to Jinja template but it seems to not be the case.Setup
Install latest onedir on Debian 12 according to documentation
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
/srv/salt/test-cache/init.sls
/srv/salt/test-cache/test1.sls
/srv/salt/test-cache/test2.sls
/srv/salt/test-cache/slow-compute.sls
salt-call -l profile state.apply test-cache
Expected behavior
The rendering of
/srv/salt/test-cache/slow-compute.jinja
show be quick when loaded from/srv/salt/test-cache/test2.sls
instead of during more than 10 seconds.Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Following #59441 for 3007.0 with simpler instruction by using
salt["test.sleep"](10)
instead of complicated ISO hash computation.The text was updated successfully, but these errors were encountered: