Hi,
This 1.23 release adds a few items to the frontend: download
attachments button right on build view, download metric charts and
known issues on project view.
The release also changes task id for fetch tasks, this will help
debugging fetch-related errors.
Complete list of changes going in:
* ci: tasks: define task_id for fetch tasks
* core:
* frontend add group 'privileged' access level
* make PatchSource.token nullable
* frontend:
* Fix a typo on the delete project button
* add known issues to project view
* export metrics graphs as picture
* rest: add dropdown to download attachments
Ch{eers,arles}
Hi,
This 1.22 release increases the metric name field from 100 characters
to 256, as it is for test name. The release also allows by default all
users to make changes to projects, as long as they belong to the
respective group.
Complete list of changes going in:
* core:
* make metric name 256 characters long instead of 100
* add project perms to default squad group
* migrations: remove print creating permissions
Ch{eers,arles}
Hi,
This 1.21 release changes the lava backend XML-RPC transport layer to
use requests, also including a pre-defined timeout. The release adds
the Celery plugin for Sentry users.
Complete list of changes going in:
* ci: add tests for LAVA backend call timeouts
* ci: lava: change XML-RPC transport to use requests
* frontend: build: include test jobs with no status in Test jobs tab
* settings: add CeleryIntegration to sentry
Ch{eers,arles}
Hi,
This 1.20 release adds log entries when users change objects via API.
It also allows OPTIONS database arguments to be passed via environment
variable.
Complete list of changes going in:
* Translated using Weblate (Portuguese)
* Added translation using Weblate (Portuguese)
* core: add tests for LogEntry when using API
* Allow equal sign in settings variable value.
* api: log user actions as LogEntry
Ch{eers,arles}
Hi,
This 1.19 release adds a filter to the testjob view page that allows
users to query target jobs instead of going page by page.
Complete list of changes going in:
* frontend: add filter to testjobs view
* settings: django-toolbar: use squad jquery
* test: test_listen: fix multiple calls with backends
* ci: backend: Use project settings in LAVA backend
Ch{eers,arles}
Hi,
This 1.18 release fixes tooltips for test jobs view, changes how
groups are displayed in the home page and also prioritizes project
settings over backend settings when resubmitting test jobs.
Complete list of changes going in:
* ci: lava: ensure project settings take priority
* frontend: fix tooltips in testjobs page
* frontend: home: separate groups and user spaces
Ch{eers,arles}
Hi,
This 1.17 release adds a few changes to test results layout in build
view. It collapses all results by default and displays an overall
summary of tests in the box title for suite and environment boxes.
This release also adds an extra button that allows users to select
build comparison type (test or metrics) in build view.
Complete list of changes going in:
* api: rest: add filterset_class attribute to StatusViewSet
* core: commands: add fill_test_metadata command
* frontend:
* add choice of comparison type
* add logo do api page
* fix test result url to point to history
* test_results: add collapse/expand all option
* test_results: add overall summary in suite/environment boxes
* test_results: make suitebox the default layout
* test_results: move toggle box to the left
* plugins: linux_log_parser: create metadata
* release-docker: tag release image name
* settings: init sentry plugin with squad release
* settings: really configure celery max retries when queue server is
out of reach
Ch{eers,arles}
Hi,
This 0.8 release fixes the number of suites retrieved in build_report
and allows users to create projects using the client. A newer version
will come in quickly allowing all models to be created/deleted.
Complete list of changes going in:
core: models allow project creation
examples: fix suite retrieval in build_report.py
Ch{eers,arles}
Hi,
This 1.16.2 release fixes a bug when filtering objects by project's full name.
Complete list of changes going in:
* api: rest: fix project filter
* Dockerfile: allow containers make ssh connections
Ch{eers,arles}
Hi,
This 1.16.1 release fixes a lava crash when trying to download big log
files from a lava instance that times out. The release also improves
load time in test history view.
Complete list of changes going in:
* ci: fix lava backend log download
* frontend: test_history: improve load time
Ch{eers,arles}
Hi,
This 1.16 release improves load time when comparing tests across
different projects, creates a default authentication group so that
users have object-level permission and allows download of build
attachments.
Complete list of changes going in:
* frontend:
* add URL for downloading build attachments
* add test history link in test list
* allow serving files from database
* compare: improve compare load times
* fix attachment downloads
* test the actual response contents of all download urls
* add migrations to create auth group and add users
* api: rest: add more status details
* attachment: add a sample unit test
* core: store Attachment's mime-type in the model
* pytest: only check coverage on ci
Ch{eers,arles}
Hi,
This 1.15.1 release improves load time of group, project and build page.
Complete list of changes going in:
* core: admin: fix timeout deleting objects in admin view
* frontend:
* improve group page load times
* improve load times for project and builds page
* views: fix page view for unauthenticated users
* views: improve build page load time
Ch{eers,arles}
Hi,
This 0.7 release adds a method in the project model to fetch its
environments among other minor bug fixes.
The release also changes the home of squad-client docker image to
squadproject/squad-client.
Complete list of changes below:
* add methods to fetch environments from a project
* change the attribute from complete to finished
* core: models: add nested endpoints to models
* examples: fix URL in build_report
* fix the example for filtering on finished builds
* manage: avoid configuring api when running tests
* release: change docker repo to squadproject
Ch{eers,arles}
This 1.15 release adds pagination to the list of test jobs of a build,
along with a UI for navigating between previous and next builds.
The release also fixes a broken link to test history and other small bug fixes.
Complete list of changes going in:
* api: rest: make project/<id>/test_results faster
* ci: lava: update backend implementation to ensure proper URLs
* frontend:
* add pagination to testjobs view
* add prev & next in build page
* fix URL reverse for test names with /
* fix crash when paginator page is not found
* fix filtering box in build view
* restore legacy test history url + bugfix
* Translated using Weblate (Norwegian Bokmål)
Ch{eers,arles}
Hi,
I was recently asked to prepare a docker compose that includes both
LAVA and SQUAD. This was fairly easy (a few hurdles with LAVA master,
but nothing serious). Currently I have a setup that has SQUAD parts in
separate containers, and LAVA master in separate. SQUAD connects to
LAVA using docker network. This unfortunately causes incorrect URLs
produced nu LAVA backend in LAVA are incorrect. They point to internal
docker addresses and are not accessible from outside. To give the
proper example:
- LAVA master runs in a container named lava-master. It listens on
ports 8000 (http) and 5555 (zmq)
- SQUAD has backend configures with LAVA url as http://lava-master:8000/RPC2
The result is that metadata in SQUAD builds show job URLs as
http://lava-master:8000/scheduler/job/<job id>. Obviously this URL
isn't available from the host network. If I configure backend to use
host's network URL it won't be able to connect. At least I don't know
how to make this happen. Does anyone have any idea how to fix it? Is
there a way for docker encapsulated apps to communicate using host's
network? Here is a link to my docker-compose:
https://github.com/mwasilew/lite-lava-docker-compose/blob/lite/docker-compo…
milosz
Hi
This 0.6 release adds basic caching for fetching data. It also adds
support for fetching metrics and a shortcut for comparing two builds
from the same project.
Complete list of changes below:
* core:
* api: ignore netrc auth
* models: add metrics
* models: add suite do project model
* models: fix metrics and testrun status endpoints
* shortcuts: add shortcut to compare builds
* manage: add basic caching
* shortcuts: return exit code of submit operation
* tests: add test for submit_results return value
Ch{eers,arles}
Hi
This 1.14 release adds an API endpoint that allows comparison between
builds from the same project. It also fixes a bug related to LAVA ci
backends when retrieving listener url.
The release also improves the docker image and pushes it to
https://hub.docker.com/repository/docker/squadproject/squad on every release.
Complete list of changes going in:
* api:
* rest: endpoint to compare two builds
* rest: fix environment filter in knownissue
* ci:
* fix LAVA listener port retrieval
* fix get_listener_url() in case of REST
* frontend: comparison: fix transitions
* misc:
* Dockerfile: improve Dockerfile
* release: release docker image along with pip release
* remove CODEOWNERS file
* requirements: fix dependencies for broken celery 4.4.4
* settings: allow SMTP port customization
* test-docker: remove extra testing under docker
* travis: add verbosiness do test under docker
Ch{eers,arles}
Hi,
This 1.13 release marks 4 years of SQUAD project, yay! It also adds a
logo for the project along with other small bug fixes and new
features.
The LAVA backend is now compatible with LAVA RESTfull interface, also
now we're running tests against a real version of LAVA running on a
Docker container.
There was a small change in the workflow to check test details. The
testrun page has been completely removed in favor of less clicking to
get to test metadata and history.
The linux log parser plugin now captures a new class of bug called
"invalid opcode", and it catches more "BUG" bugs.
Complete list of changes going in:
* ci:
* Enable REST API in LAVA backend
* fix ProjectStatus processing in fetch()
* improve TestJob.cancel()
* test lava backend using real LAVA instance.
* core:
* Implementation of ProjectStatus baseline
* add ProjectStatus baseline field
* add compute_project_statuses command
* fix compute_build_summaries command
* frontend:
* build: fix missing "failures only" filter
* add test details and remove testrun page.
* plugins: linux_log_parser: improve BUG matches and add "invalid opcode"
* misc:
* add logo to the README
* add logo to the main template.
* update the copyright years line to extend to 2020
Ch{eers,arles}
Hi,
This 1.12 release adds a bell icon to project UI allowing users to
subscribe/unsubscribe from project notifications, among other small
fixes and additions.
Complete list of changes going in:
* api: add docstring to endpoints with additional methods
* api: rest: handle null test_name in project/test_results
* frontend: add subscribe feature to project listing
* frontend: allow to subscribe/unsubscribe from project view
* static: annotation: better handle error messages
* test: fix flake8 warning
Ch{eers,arles}
Hi,
This 1.11 release adds several new features. A new flag in
Project/Backend settings allow processing valid results of LAVA jobs
that had an Infrastructure error. In the test job page of a build, a
user can now choose to cancel a job that is submitted but not yet
fetched, also sending this cancel action to the job backend.
Complete list of changes going in:
* api:
* document field lookups
* rest: add ID to all possible serializers and filters
* rest: add resubmit and cancel methods to TestJob objects
* ci:
* add support for cancelling CI jobs
* lava: add flag allowing to accept results from failed jobs
* models: handle race condition without wait
* doc:
* api: add note about Squad-Client tool
* api: add status to testrun endpoint and metrics endpoint
* api: remove usergroups documentation
* intro: add a note about xfail tests
* intro: add note on regressions and fixes
* frontend:
* add Cancel button to test job list
* add link to full log from test list page
* ci: reduce number of queries for testjobs view
* core: fix project counter display on index page
Ch{eers,arles}
Hi,
This 1.10.1 release fixes a bug introduced with a bug fix last week:
In case the job is still in the queue or is in progress, fetch()
raises TemporaryFetchIssue from within the block that catches
FetchIssue. Since TemporaryFetchIssue derives from FetchIssue, the
exception is immediately consumed and the fetch_attempts counter is
increased. This leads to maxing out fetch_counter for jobs that stay
in the queue for a long time. This patch removes the exception and
instead returns from the fetch() function without an error. This
doesn't result in increasing fetch_attempt counter.
Complete list of changes going in:
* api: rest: add ID field to TestJob object
* ci: fix Backend.fetch() implementation
* travis: fix reuse docker lint
* Translated using Weblate (French)
Cheers,
Charles
Hi,
This 1.10 release fixes a race condition bug that happens whenever two
or more workers fetch a single TestJob, triggering a fetch issue. Also
it adds support to Sentry, a tool to manage log events.
The release also creates a separate endpoint for Metrics objects.
Complete list of changes going in:
* api: rest: fix force-created reports
* ci: models: fix race condition for fetch
* core:
* rest: add top-level metric endpoint
* tasks: fix job_id as integer
* tasks: notification: keep only one task for notification on timeout
* tasks: remove try-catch block of notification task
* manage: exclude tests that break on sqlite
* settings: add support to Sentry
Cheers,
Charles
Hi,
This is a quick release that fixes two bugs regarding the linux log parser
plugin.
Changes:
* plugins: linux_log_parser: ignore empty logs
* core: history: check for empty suite metadata
Cheers,
Charles
Hi,
This 1.9 release really fixes linux-log-parser plugin, adds badges for
builds and fixes bugs discovered when using squad-client. Also we made
"job_id" optional when submitting test results through the api.
Complete list of changes going in:
* core:
* api: add status to testrun
* data: handle null test result
* model: remove project reference to metric threshold
* tasks: make "job_id" optional
* celery: avoid crash when no broker is configured
* doc: fix python example for submissions
* frontend: add badge for build
* plugins: linux_log_parser: run plugin for testruns
* settings: run tasks when there is no broker
Cheers,
Charles
Hi,
This 1.8 release updated linux-log-parser plugin to search for kernel
panics as a one line error. Also it now searches for "BUG" as well. It
also migrate metrictreshold to use environments.
Complete list of changes going in:
* core: models: remove threshold contraint
* core: models: Change client code for MetricThreshold model and
migrate old data
* core: notification: avoid sending emails when body >1MB
* plugins: linux_log_parser: make 'kernel-panic' one-line regex
* plugins: linux_log_parser: add BUG regex
* scripts/upload: remove build leftover files
* test: test_notification: remove unused attribute
Cheers,
Charles