| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
We haven't used this framework for 2 major releases of Chef and as time goes on it's more and more likely we'll build something very different for testing.
We 100% do need acceptance testing, but between dokken testing in Travis and the potential for more complex integration testing with build-kite I think we should do the proper cleanup and remove this code now.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously, we ran only integration tests. But many of our unit tests
are constrained by rootyness and platform, and this means the first time
they get run is during the ChefDK verification stage, which uses the
released Chef build. So we have no way of fixing test failures short of
a new Chef release.
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
| |
Signed-off-by: Scott Hain <shain@chef.io>
|
|
|
|
|
|
| |
This makes sure we don't fail on the very slim chance that an OS generated file (lookin' at you, AIX) ends up in this directory and blocks deletion.
Signed-off-by: Scott Hain <shain@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is also necessary for bundler-1.14.x
i'm still not entirely clear why we ever needed all the fussy software gem
configs or what the build-chef / build-chef-gem infrastructure ever
did for us. it seems to have been mostly micro-optimization around
building the software gems before bundle installing the project in order
to take advantage of git caching. i aggressively don't care about that,
this is quite fast enough. we can install nokogiri and libgecode early
and that should take care of 98% of the build optimization issue.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will ensure the path to the suites can be fully resolved, it
prevents errors like:
```
STDERR:
/home/jenkins/workspace/chefdk-test/architecture/x86_64/platform/acceptance/project/chefdk/role/tester/vendor/bundle/ruby/2.1.0/gems/mixlib-shellout-2.2.6/lib/mixlib/shellout/unix.rb:183:in
`chdir': No such file or directory @ dir_chdir -
/home/jenkins/workspace/chefdk-test/architecture/x86_64/platform/acceptance/project/chefdk/role/tester/opscode-ci/.acceptance/acceptance-cookbook
(Errno::ENOENT)
```
|
|
|
|
| |
This reverts commit aac62e28ae3112c586f223c48ef7fe360f98e56a.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We output all data generated during a chef-acceptance run to the workspace
of the executing Jenkins job using chef-acceptance's `--data-path` option.
If the `chef-acceptance` commands are executed with elevated privileges
(using `sudo`) the generated files are owned by `root`:
https://gist.github.com/schisamo/7ce7262813f2bc81b7314d9eab53afa0
This is an issue as the generated data cannot be properly archived OR
cleaned up when the next job runs:
https://gist.github.com/schisamo/b7246987d49534b27b8a4ad72f9ad965
|
|
|
| |
See https://github.com/chef/chef/blob/master/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb#L19
|
|
|
|
|
|
|
|
| |
Previously data was being written to the Chef package install path of
`/opt/chef/*/acceptance/*` which is bad for numerous reasons. Now that
chef/chef-acceptance#39 has been merged we can take advantage of Chef
Acceptance's new `--data-path` option which allows us to relocate this
directory into the Jenkins job's workspace for easy archiving.
|
|
|
|
| |
These have not been needed since: chef/mixlib-install#90
|
| |
|
| |
|
|
|
|
| |
Chef tess
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Travis/Appveyor already run the unit tests at the appropriate gate
earlier in the build process. Running the tests on each platform we build
a package for should give the same result and really just serves to slow
the overall delivery process down.
|
| |
|
| |
|
| |
|
|
|
|
| |
The if statement was always being evaluated to true.
|
|
|
|
|
|
|
|
|
|
|
| |
Some testers fail with
```
ci/verify-chef.sh: test: ] missing`
```
This regression was introduced by
https://github.com/chef/chef/commit/2bcb7d06dcb49c953b9e666b24c8bd3cb56da2c5
|
| |
|
|
|